I have the code below doing this where 01011 is a zip code. So I would like the 
output to be 01018 as the appended value in the array but right now I am 
getting 1018 (leading 0 getting cut off) I tried listappend and it does the 
same thing. Val() and tostring() didn't seem to do much either. Any ideas?

ArrayAppend(myArrayList2,01011+7);

Jeremy

Without quotes your value is going to be a number, and numbers do not get a 
leading zero.

arrayappend(myArrayList2,replace(rjustify(01011 + 7,5)," ","0","all"))

--------------
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

---------
| 1 |   |
---------  Binary Soduko
|   |   |
---------
 
"C code. C code run. Run code run. Please!"
- Cynthia Dunning



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232562
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to