StringEndsWithNoCase
Determines whether a string ends with a specified suffix, case-insensitive.
Method Signature
StringEndsWithNoCase(string=[string], substring=[string])Arguments
Argument
Type
Required
Description
Default
string
string
true
The string to check.
substring
string
true
The suffix to check for.
Examples
Case-insensitive endsWith check
result = "Hello.TXT".endsWithNoCase( ".txt" );
writeOutput( result );
Result: true
Using the member function
result = "Report.PDF".endsWithNoCase( ".pdf" );
writeOutput( result );
Result: true
Related
Last updated
Was this helpful?
