DOWNLOAD
To view this script, click the button below. Your browser should show you the script in your browser window. Copy and paste that script into ToolBook.

View Now
 


STRING FUNCTION
: rightString()

Add-on OpenScript Function - should work in any version of ToolBook

  Syntax

rightString(<string>,<numChars>)

  Parameters <string>
A reference to a string value.

<numChars>
The number of characters to return.

    Returns Returns the last character or characters in a text string, based on the number of characters you specify.

    Sample endVal = rightString(text of field "foo",4)

isJR = (rightString(userName,2) = "jr")