Left(String: String, Length: Number): String
Left string. Returns the leftmost Length characters of String. If String contains less than Length characters, the entire string is returned.
Left function syntax has these named arguments:
Parameter |
Description |
String |
Required. String to return the leftmost characters for. |
Length |
Required. The length of the string to be returned. If the String is shorter than Length, the entire string is returned. |
For example:
Left("gladiator", 4)
Returns: glad