I am reading the row id value from a table. When the identifier was entered by the user, this was done using the input mask that the user defined, so the mask could be something like 000-00-0000 , ##-###### , AA-9999999 , etc. The mask will be different from the user, and therefore must be evaluated at runtime.
Given that only alphanumeric text is stored in the table, what is the best way to create a new line using this mask?
For example:
Table value = "123456789"
If the user defined the mask 000-00-0000 , I want to get the line 123-45-6789 .
If the user defined the mask AA-9999999 , I want to get the line 12-3456789 .
If the user defined the mask FR999_999999 , I want to get the string FR123_456789 .
Pahjoker
source share