Function At() Foundation
Determines first position of a substring within a character string.
At( <cSubString>, <cString> [,<nStartPos>] ) --> nPosition
At() searches the character string <cString> from the beginning (left) and returns the position of <cSubString> as an integer numeric value. When <cSubString> is not found in <cString>, the return value is zero.
The character function At() determines the first position of a character substring within another character string. <cString> is searched from the left. The counterpart of At() is the function RAt(), which searches a character string from the right (starting at the end) and determines the position of the last occurrence of a character substring within a string. The $ operator is also similar and tests whether a character substring is contained in a string.
The functions At() and RAt() are often used with the functions SubStr(), Left() and Right() to perform character string operations.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.