For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

Last updated

Was this helpful?