Results 1 to 6 of 6

Thread: Split String

Threaded View

  1. #1

    Thread Starter
    Addicted Member Tha Joey Madnez's Avatar
    Join Date
    May 2004
    Location
    Netherlands
    Posts
    179

    Resolved Split String

    Hi,

    How can i read 3 strings behind a word.

    Example: !Connect Serv 1204 Pass
    Then how can i split it so i can read
    the 3 words behind !Connect and i can put
    them in a string

    serv = Serv
    Port = 1204
    Pass = Pass

    Srry for my bad english, im from holland


    Code i have:

    VB Code:
    1. If Left(Message, 7) = "!Connect" Then
    2.     Dim String As String
    3.     a = Message
    4.     b = " "
    5.     If Left(a, 7) = "!Connect" Then
    6.     c = Split(a, b)
    7.     String = c(1)
    8.     sendmsg string
    9.     End If
    10.     End If

    In the code above, i can only get 1 string behind the word


    thx !
    Last edited by Tha Joey Madnez; Feb 19th, 2005 at 05:00 AM.
    100% Done with the Software forLuidia

    Click here to goto the Luidia website

    -=[Visual Basic][Addicted]=-

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