Results 1 to 3 of 3

Thread: [RESOLVED] Need help to split text!

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    May 2007
    Posts
    278

    Resolved [RESOLVED] Need help to split text!

    For example I have a text like this:
    Text1.Text = "Visual.Basic"
    How can I split this text to two TextBox'es like this:
    Text2.Text = "Visual"
    Text3.Text = "Basic"
    As you can see I want use "." like spliter mark.
    Last edited by Lauriux1; Sep 21st, 2007 at 05:46 PM.

  2. #2
    Fanatic Member Mxjerrett's Avatar
    Join Date
    Apr 2006
    Location
    Oklahoma
    Posts
    939

    Re: Need help to split text!

    Here

    Code:
    dim lines() as string
    lines=split("Visual.Basic",".")
    text2=lines(0)
    text2=lines(1)

    If a post has been helpful please rate it.
    If your question has been answered, pull down the tread tools and mark it as resolved.

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    May 2007
    Posts
    278

    Re: [RESOLVED] Need help to split text!

    Thanks! You are very helpful but then I try Rate your post I'm geting this "You must spread some Reputation around before giving it to Mxjerrett again." So sorry!

    RESOLVED!

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