Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Trim leading zeros using CF...HOW?

Status
Not open for further replies.

WildWest

Programmer
Apr 2, 2002
111
0
0
US
Does anyone know how to trim leading zeros in CF?

For example, I have "0003457823"
and I only want "3457823"

Thanks in advance!
 
i am suprised nobody else answered this

i am a total noob when it comes to regular expressions, but this one was pretty easy --

REReplace(field,"^0+","")


rudy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top