Results 1 to 2 of 2

Thread: [RESOLVED] remove characters before "|"

  1. #1

    Thread Starter
    Addicted Member cc2^^'s Avatar
    Join Date
    Apr 2008
    Location
    Right behind you.
    Posts
    165

    Resolved [RESOLVED] remove characters before "|"

    How do i remove all characters in a textbox before the "|" with a code?

    example:

    text1.text = string1|string2

    then when you run the code it will be

    text1.text = string2


    Thanks!
    I think I am, therefore, I am. I think.

  2. #2
    Member
    Join Date
    Apr 2009
    Posts
    57

    Re: [RESOLVED] remove characters before "|"

    Split the TextBox.Text...

    Code:
    Dim strSplit As String
    
    strSplit = Split(Text1.Text, "|")(1)

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