Verifies whether the given string ends with a specific string.
Syntax
StrEndsWith(STRING sSource, STRING sSearchTerm)
sSource
The source string to check.
sSearchTerm
The string to search for in the source string.
Return Value
Returns TRUE if sSource ends with sSearchTerm, otherwise returns FALSE.
Example
STRING sTest = "MyPage_UHD4K";
INT bResult = StrEndsWith("MyPage_UHD4K", "_UHD4K");
Related Functions
Published June 2018