May 13, 2021 VBScript
The VBScript Left function returns a specified number of characters to the far left of the string.
The Left function returns a specified number of characters from the left side of the string.
Tip: Use the Len function to determine the number of characters in the string.
Tip: See Right function.
parameter | describe |
---|---|
string | Required.From the string of the character's character. |
length | Required.How many characters need to return to the regulations.If set to 0, return an empty string ("").Returns the entire string if set to a length greater than or equal to the string. |
The above example output results:
Returns the entire string:
The above example output results: