Page 1 of 1


Posted: Tue Feb 21, 2017 1:41 pm
by JodyC
I've been trying to use the substring function to create a variable but it keeps failing. [8099 - Set Variable] An unexpected error occurred. Function 'Substring': Parameter '1' must be a string value. Function definition: 'Substring(text, startPos[, length]) returns string' Original expression: Substring(CurrentFile, 27,20).

${Substring(CurrentFile, 27,20)}

CurrentFile is a FileList variable.

Re: Substring

Posted: Thu Mar 09, 2017 9:00 am
by Support_Rick
Then apply the "String" function:

${Substring( string(CurrentFile), 27,20)}