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

StringBuilderStartsWith

No description available.

Method Signature

StringBuilderStartsWith(stringBuilder=[stringBuilder], substring=[string])

Arguments

Argument
Type
Required
Description
Default

stringBuilder

stringBuilder

true

substring

string

true

Examples

Check prefix with startsWith()

Tests whether a StringBuilder starts with a given substring.

sb = sb{'Hello BoxLang'};
result = startsWith( sb, 'Hello' );
writeOutput( result );

Result: true

Member usage

Result: false

Last updated

Was this helpful?