Results 1 to 2 of 2

Thread: Strip Strings (This post is almost as good as a strip club!)

  1. #1

    Thread Starter
    Addicted Member Mage33's Avatar
    Join Date
    Aug 2000
    Location
    Petaluma, California
    Posts
    138
    How do you strip, say, the first two characters of "oogabooga" so you get "oo"? Thanks.
    Stephen Haney- 115 116 101 118 101 31 72 65 78 69 89
    -ShardsOfSilence.net- ^ My name in ASCII ^
    You forget something new every day
    | WinME | VB6 Pro | MSC++ | Lambda MOO |

  2. #2
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744
    Check out Left, Mid, Right functions:
    Code:
    Dim strText As String
    
    strText = "oogabooga"
    strText = Left(strText, 2)
    
    MsgBox strText

Posting Permissions

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



Click Here to Expand Forum to Full Width