Patrick O'Dea
asked on
Convert "P12" to "P0012"
Hi,
Simple enough string manipulation here.
I am looking for a neat way to convert text fields to the format P9999. 4 digit prefixed by "P".
See before and after examples below.
P12 to P0012
P1 to P0001
P123 to P0123
P1234 to P1234
Simple enough string manipulation here.
I am looking for a neat way to convert text fields to the format P9999. 4 digit prefixed by "P".
See before and after examples below.
P12 to P0012
P1 to P0001
P123 to P0123
P1234 to P1234
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Perfect
Please try below....
[
Open in new window