StringStartsWithNoCase
Determines whether a string starts with a specified prefix, case-insensitive.
Method Signature
StringStartsWithNoCase(string=[string], substring=[string])Arguments
Argument
Type
Required
Description
Default
string
string
true
The string to check.
substring
string
true
The prefix to check for.
Examples
Case-insensitive startsWith check
result = "Hello World".startsWithNoCase( "hello" );
writeOutput( result );
Result: true
Using the member function
result = "HTTPS://example.com".startsWithNoCase( "https://" );
writeOutput( result );
Result: true
Related
Last updated
Was this helpful?
