LTrim

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MiziaQ
    New Member
    • Nov 2007
    • 63

    #1

    LTrim

    How can I remove the first 4 characters from a string in vb, using LTrim ?
    Thanks in advance :)
  • anuragshrivastava64
    New Member
    • Jan 2007
    • 66

    #2
    Originally posted by MiziaQ
    How can I remove the first 4 characters from a string in vb, using LTrim ?
    Thanks in advance :)
    Trim function is only meant to remove spaces.
    U can try this
    Left( " your string",4)

    Comment

    • mafaisal
      New Member
      • Sep 2007
      • 142

      #3
      Hello

      U can also Use Mid, Right Functions To this

      Faisal

      Originally posted by MiziaQ
      How can I remove the first 4 characters from a string in vb, using LTrim ?
      Thanks in advance :)

      Comment

      • Killer42
        Recognized Expert Expert
        • Oct 2006
        • 8429

        #4
        Originally posted by mafaisal
        U can also Use Mid, Right Functions To this
        Yes. To remove the first four characters, just extract from the fifth onward.

        X = Mid(X, 5)

        Comment

        Working...