Sfairadora

  • Reference Guide

skip_blank_back

skip_blank_back(str, n)
Returns the index of the first non-space character in the string str before the position n (including the character at the index n). If no such character is found, the function returns –1. In other words, it skips back all the space characters. The characters are indexed from 0. If n is negative, the value 0 is used.
The parameter str can be String, Text or Rich_string. The parameter n and the return value are of the type Int.
Following characters are considered spaces: ' ' (space), '`t' (tabulator), '`r', '`n' (new line) a '`f' (new page) (see text constants).

See Also