Last updated on
Apr 27, 2021 06:03:30 AM GMT
|
Also Applies to ColdFusion
Description
Returns up to the leftmost count characters in a string.
Returns
String; up to the first count characters in the string parameter.
Category
Function syntax
Left(string, count)
<cfscript> myString=Left("That's one small step for man, one giant leap for mankind.",25); WriteOutput(myString); </cfscript>
Output
That's one small step for