Left |
|
Description
Retrieves the number of specified characters starting from the left of the string.
Arguments
1.Left - Name of the Macro.
2.String - The string from which the characters will be taken.
3.Number of Characters - The number of characters that will be taken from the string.
Examples
<Left|5000 miles|-10>
Returns nothing.
<Left|5000 miles|0>
Returns nothing.
<Left|5000 miles|4>
Returns "5000".
<Left|5000 miles|10>
Returns "5000 miles".
<Left|5000 miles|100>
Returns "5000 miles".
Notes
Only integers can be used for the number of characters. Numbers that are longer than the specified string will not cause an error.
Copyright © 2024 pasUNITY, Inc.
Send comments on this topic.
Created with an evaluation copy of HelpSmith.
To remove this notice, you should purchase the full version of the product.