Left
The Left function takes a string and length parameter and
returns a substring starting from the left. The left function will
return a copy of the string containing only the leftmost length
characters.
Const sName = "Ward Cleaver" Response.Write "My name is " & Left(sName, 4)
If the length you specify is greater than the source string, the
Left function will return the original source string.
|
 |

|