Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in MySQL only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Today's Posts
Member List
Calendar
Home
Forum
Topic
MySQL
Removing leading zeros in an address field
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
almaroc
New Member
Join Date:
Nov 2011
Posts:
48
#1
Removing leading zeros in an address field
Jan 12 '12, 06:17 PM
I am trying to remove the leading zeros from an address field. i.e
data: 00123 Elm st
result: 123 elm st.
Rabbit
Recognized Expert
MVP
Join Date:
Jan 2007
Posts:
12517
#2
Jan 12 '12, 07:02 PM
Get the characters before the first space, convert it to a number, convert it back to a string, and append everything after the first space.
Comment
Post
Cancel
almaroc
New Member
Join Date:
Nov 2011
Posts:
48
#3
Jan 13 '12, 02:46 PM
thanks Rabbit. Good idea.
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment