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

StringBuilderEndsWith

No description available.

Method Signature

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

Arguments

Argument
Type
Required
Description
Default

stringBuilder

stringBuilder

true

substring

string

true

Examples

Check suffix with endsWith()

Tests whether a StringBuilder ends with a given substring.

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

Result: true

Member usage

Result: false

Last updated

Was this helpful?