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
Related
Last updated
Was this helpful?
