AnsweredAssumed Answered

Add a hyphen before the last 3 characters of variable length string

Question asked by KossuthCo on Apr 24, 2015
Latest reply on Apr 24, 2015 by KossuthCo

Hi All. I'm looking for some VBScript help (or Python) to add a hyphen before the last 3 characters of variable length string. I can manage with fixed length strings, but not variable ones. 12345 = 12-345 and 123456 = 123-456.

Thanks in advance.

Luke

Outcomes