Goo'day,
X = STR(0,5-LEN(X)):X
At 21:30 02/03/05 +0000, you wrote:
Hi all,
I have a need to search through our program files for any code that format a number from 1 through 99999 with leading 0's.
I have always used "R%5" but I may miss programs that use other techniques to arrive at the same result. Can someone give me examples that they have seen for changing 1 to 00001?
Thanks much,
Scott ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
-- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.5.7 - Release Date: 01/03/05
-- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.5.7 - Release Date: 01/03/05
Regards,
Bruce Nichol Talon Computer Services ALBURY NSW 2640 Australia
http://www.taloncs.com.au
Tel: +61 (0)411149636 Fax: +61 (0)260232119
If it ain't broke, fix it till it is!
-- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.5.7 - Release Date: 01/03/05
-- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.5.7 - Release Date: 01/03/05 ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/