Required format in string (input validation)
I need to change the format of a data.
I have an attribute of type string. In the Form No. 1 enter information in this format: XXXYYYZZZQ.
I need to build an expression ("to exit the task" or "to enter the next task") to alter the format to: XXX.YYY.ZZZ-Q.
I suppose I should extract the characters, assign them to variables and then concatenate.
Please if you can help me with this problem.
PD: sorry my english is not very good...