right
This function is used by Ignition's Expression language.
Description​
Returns count number of characters starting from the right side of string, where count and string are the arguments to the function.
Syntax​
right(string, charCount)
Parameters
String string - The starting string.
String charCount - The number of characters to return.
Results
- String - A string of the number of characters specified in the charCount from the specified string.
Examples​
Code Snippet
right("hello", 2) //returns "lo"
Code Snippet
right("filename.pdf", 3) //returns "pdf"
Code Snippet
right("hello", 0) //returns ""