Originally posted by Gary Atkinson
I need to pad a string with leading zeros if the length is less than 10. So, if receive 12356...I need to send out 0000123456. This is in PID:3 for the Medical record number. Is there a tcl snippet I can use to do this and add into my xlate?