1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

@LTrim

Discussion in 'Suggestions' started by mathewsdw, Jun 17, 2013.

  1. mathewsdw

    Joined:
    May 24, 2010
    Messages:
    855
    Likes Received:
    0
    Unless I'm missing something, I think the title of this post says it all. There are functions to remove both leading and trailing blanks, blanks on the right, and all blanks including embedded blanks, but if there's something to trim blanks on the left I haven't found it. Yes, I can write one but that's a pain. This is a simple enough function to add to the "trim" suite that I think it really should be there.
     
  2. samintz

    samintz Scott Mintz

    Joined:
    May 20, 2008
    Messages:
    1,203
    Likes Received:
    11
    You're missing something. @LTrim already exists.
    -Scott
     
  3. mathewsdw

    Joined:
    May 24, 2010
    Messages:
    855
    Likes Received:
    0
    Thank you, Scott! I had a dim recollection (all of my recollections are "dim"! ;)), but I forgot that it and @RTrim, unlike @Trim, let you specify what characters are trimmed. It also explains why I wasn't getting the error(s) I really expected to get.
     

Share This Page