Substr

Description:

script:Substr(string,start,length)

Returns a 1 based substring of string

Example:

script:Substr(\open.a,1,2)

Result:

Returns the first two characters of question \open.a