STRPOS (String)
-Use this function to search for a substring inside a string.
Position := STRPOS(String, SubString)
Position
Data type: integer
The position of SubString in String. If the system cannot find SubString, it returns zero (0).
String
Data type: text constant or code
The string you want to search in.
SubString
Data type: text constant or code
The string you want to search for. The STRPOS function is case-sensitive.
Comments
The STRPOS function only returns the position of the first occurrence of the substring.
Comments
you can use
STRPOS (String)
-Use this function to search for a substring inside a string.
Position := STRPOS(String, SubString)
Position
Data type: integer
The position of SubString in String. If the system cannot find SubString, it returns zero (0).
String
Data type: text constant or code
The string you want to search in.
SubString
Data type: text constant or code
The string you want to search for. The STRPOS function is case-sensitive.
Comments
The STRPOS function only returns the position of the first occurrence of the substring.
Text1 := 'FINAL EXAM';
SubStr := 'FINAL';
IF STRPOS(Text1, SubStr) > 0 THEN ....
NAV, CRM, MOSS, CMS, Commerce Server
Justin King
Brulant, Inc
www.brulant.com
justin.king at brulant.com