Apr 21, 2003 #1 WildWest Programmer Joined Apr 2, 2002 Messages 111 Location US Does anyone know how to trim leading zeros in CF? For example, I have "0003457823" and I only want "3457823" Thanks in advance!
Does anyone know how to trim leading zeros in CF? For example, I have "0003457823" and I only want "3457823" Thanks in advance!
Apr 22, 2003 #2 r937 Technical User Joined Jun 30, 2002 Messages 8,847 Location CA 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 http://r937.com/ Upvote 0 Downvote
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 http://r937.com/