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

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

Last updated

Was this helpful?