Right |
|
Description
Retrieves the number of specified characters starting from the right of the string.
Arguments
1.Right - 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
<Right|5000 miles|-10>
Returns nothing.
<Right|5000 miles|0>
Returns nothing.
<Right|5000 miles|5>
Returns "miles".
<Right|5000 miles|10>
Returns "5000 miles".
<Right|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.