[[https://www.revelation.com/|Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community]] ==== How to Append Digits To A String (AREV Specific) ==== === At 01 MAY 2000 04:27:38PM Jim Dierking wrote: === {{tag>"AREV Specific"}} I need to append a variable number of zeros to the left of a string. I acheived this by using case logic and concatenating onto the string. However, I was wonder if there is some sort of RBasic append command. In this case, I have to have a total of eight digits. I substract the hard data(wt of a package) from the eight and obtain the number of zeros needed to be added onto the string. Appreciate your help, Jim. ---- === At 01 MAY 2000 05:12PM rayc@symmetryinfo.com wrote: === Jim, Have you tried FMT? For example, val=1 xx =FMT(val,"R(0)#8) ;* this will give you 8 digits. If val is not 8 digits, then it will zero fill to the left. xx will display 00000001. Very useful. Try it. rayc@symmetryinfo.com onmouseover=window.status=imagine ... ;return(true)" [url=http://www.symmetryinfo.Com" onMouseOver=window.status=Imagine ... ' ;return(true)]Symmetry Info[/url] Ray Chan ~ Symmetry Info ---- === At 01 MAY 2000 06:03PM Don Bakke wrote: === Jim, Did you get the source code from me? I haven't heard back yet from you. dbakke@srpcs.com [url=http://www.srpcs.com]SRP Computer Solutions[/url] [img]http://www.srpcs.com/srpicon1.gif[/img] [[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=NONWORKS_READ&SUMMARY=1&KEY=7F107E39A03CFD17852568D2007064C3|View this thread on the forum...]]