Thanks Thanks:  0
Likes Likes:  0
Results 1 to 2 of 2

Thread: Trim Leading and Trailing Characters

  1. #1
    Board Regular
    Join Date
    Jan 2005
    Posts
    63
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Trim Leading and Trailing Characters

    I have a field in an Access query that looks like this:

    ;#system;#

    How do I get rid of the 2 leading and trailing characters? I've used RTrim and LTrim but can't figure out how to use them both at the same time.

    Thanks.

  2. #2
    Board Regular
    Join Date
    Jan 2005
    Posts
    63
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: Trim Leading and Trailing Characters

    Figured it out...

    mid(myfieldname,3,len(myfieldname)-4)

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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


DMCA.com