|This method is obsolete. See the Remarks section below.|
Utilities.AnsiStrScan method searches for the Chr character in the Str string from the beginning to the end.
The method is applied to the following object:
The method has the following parameters:
Specifies the strings in which the specified character should be found.
Specifies the character to be found in the specified string.
If Chr is found, the function returns a substring that starts from the position of Chr in Str and continues to the end of Str. If the specified character is not found,
AnsiStrScan returns an empty string.
The Chr parameter should specify one character, not a string. If Chr is a string of several characters, the first character will be used.
This method is obsolete. It is supported for backward compatibility only. To search for a character within a string, use the