This function returns the index of the first position where a byte other than those in substring exists in the input string. If none is found -1 is returned. AngelScript signature: int string::findFirstNotOf(const string &in sub, uint start = 0) const
| 451 | // AngelScript signature: |
| 452 | // int string::findFirstNotOf(const string &in sub, uint start = 0) const |
| 453 | static int StringFindFirstNotOf(const string &sub, asUINT start, const string &str) |
| 454 | { |
| 455 | // We don't register the method directly because the argument types change between 32bit and 64bit platforms |
| 456 | return (int)str.find_first_not_of(sub, (size_t)(start < 0 ? string::npos : start)); |
| 457 | } |
| 458 | |
| 459 | // This function returns the index of the last position where a byte other than those in substring |
| 460 | // exists in the input string. If none is found -1 is returned. |
no outgoing calls
no test coverage detected