If you have a new question you’d like our support staff to post a response to, please visit our customer community, GoAnywhere Insiders, to pose the question in our Discussion Boards. We have a thread “Ask Our Tech Experts” that our support team monitors on a regular basis, or you can start a new discussion where other GoAnywhere users and support staff can weigh in. Log in or create your new account at
https://insiders.goanywhere.com.
If you need an immediate response, please create a support ticket or contact our support team by email at
[email protected].
-
JodyC
- Posts: 1
- Joined: Fri Nov 04, 2016 12:52 pm
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.
-
Support_Rick
Support Specialist
- Posts: 592
- Joined: Tue Jul 17, 2012 2:12 pm
- Location: Phoenix, AZ
-
Then apply the "String" function:
${Substring( string(CurrentFile), 27,20)}
Rick Elliott
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696