Left string command
Moderators: JRL, Dorian (MJT support)
Left string command
There does not appear to be a Left(number of characters) command. I use the midstr command but it's clunky when all I want to do is strip the left few or right few characters off of something.
Re: Left string command
Maybe I've been using it too long but I don't find MidStr> clunky at all. That said, if you want "left" and "right" functions, you can easily use them in VBScript via VBEval>
Code: Select all
Let>vStr=ManyPathsToTread
VBEval>left("%vStr%",9),res
MDL>res
VBEval>Right("%vStr%",7),res
MDL>res
Midstr>vStr,1,9,res
MDL>res
Midstr>vStr,10,7,res
MDL>res