Removing leading zeros in an address field

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • almaroc
    New Member
    • Nov 2011
    • 48

    Removing leading zeros in an address field

    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
    • Jan 2007
    • 12517

    #2
    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

    • almaroc
      New Member
      • Nov 2011
      • 48

      #3
      thanks Rabbit. Good idea.

      Comment

      Working...