Last updated
Was this helpful?
Last updated
Was this helpful?
Extract the leftmost count characters from a string
In this example we'll use left() to return part of a string.
Result: The quick brown fox
In this example we'll use a negative count to return part of a string.
Result: The quick brown fox
In this example we'll use left() in a function to help us to capitalize the first letter in a string.
In this example we'll use left() to test the first five characters of a request context variable.
In this example we'll use left() as a member function inside a function to help us to capitalize the first letter in a string.
string
string
true
The string to extract from
count
integer
true
The number of characters to retrieve.