Using the Concat & Substring
Hello all,
Pretty simple question, just running into syntax errors.
I want to take the first letter of fields 1 and 2, and the 6, 9, and 3rd number of fields three. I can do this with a substring one at a time, but I need to this so it puts all of the values from the substr together, ex. 051097HT. This is Date of birth, and initials. How would I usr the Concat for this. My last attempt.
TextField1.rawValue = Concat(Substr (txtDOB.rawValue, 6,2),(Substr(txtDOB.rawValue,9,2)
This is not the complete solution, just 2 parts. Not sure how to write it to put it together.
TIA!!!
Rudy
Pretty simple question, just running into syntax errors.
I want to take the first letter of fields 1 and 2, and the 6, 9, and 3rd number of fields three. I can do this with a substring one at a time, but I need to this so it puts all of the values from the substr together, ex. 051097HT. This is Date of birth, and initials. How would I usr the Concat for this. My last attempt.
TextField1.rawValue = Concat(Substr (txtDOB.rawValue, 6,2),(Substr(txtDOB.rawValue,9,2)
This is not the complete solution, just 2 parts. Not sure how to write it to put it together.
TIA!!!
Rudy