• Reference Guide


skip_chars_back(str, n, set)
Returns the index of the first character in the string str before the position n (including the character at the index n) that is not contained in the string set. If no such character is found, the function returns –1. In other words, it skips back all the characters contained in specified set. The index of the first character in the string is 0. If n is negative, 0 is used.
The parameter str can be a String, Text or Rich_string. The parameter n and the return value are of the type Int. The parameter set is a String. If the parameter str is a Rich_string, then the set can be a Rich_string, too. In that case, the format of the characters in the set is also regarded.
Note: this function serves to manipulate character strings. To handle binary data, use the analogical function skip_cbytes_back.

See Also