02-05-21 06:25 PM
Answered! Go to Answer.
03-05-21 12:24 AM
03-05-21 12:24 AM
3 weeks ago
Hello,
The below solution may help you by storing the data in a data item called "Data", and if the data is changing but with same number of digits and alphabets.
use calculation stage and perform this:
Left([Data], 4) & "-" & Right([Data], 3)
3 weeks ago - last edited 3 weeks ago
Hello,
I have come up with another approach where it can be used when number of digits and alphabets are not known.
So, in this approach I am using ToNumeric() function to convert each character of the word into numeric, it works if that character is digit but fails when it is an alphabet.
When it is a digit, I am appending that character to the data item "digits"
When it is character, it moves to the recovery mode where I append that character to the data item "alphabets" and resume it to continue to process next character.
after all characters are processed, on performing:
[digits] & "-" & [alphabets] in a calculation stage, it will give the desired output