+ Reply to Thread
Results 1 to 3 of 3

remove random spaces in a text string

  1. #1
    Registered User
    Join Date
    06-29-2007
    Posts
    18

    remove random spaces in a text string

    I have a column with postal codes that come in two formats, with and without a space in the middle (L5N3M0, L5N 3M0).
    I'd like to get rid of this space without having to go through it manually. So I'd need a function that does that, and I'd like to use this function in a macro.

    Any help is much appreciated

    thank you
    m

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,431
    The REPLACE function can be used to strip text.

    Please Login or Register  to view this content.
    or you could combine JOIN and SPLIT
    Please Login or Register  to view this content.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    06-29-2007
    Posts
    18

    remove random spaces in a text string

    thanks a million Andy

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1