I would like to split a string so that I remove the last three characters from it
E.g.
Input(1)
to
Input
Any help would be appreciated,
Thanks
For reference, I got a correct answer for removing the first three characters here:
StringVar=“(1)Input” StringVar= StringVar.substring(3,StringVar.length-3)
I’m just struggling to translate it to last three characters