Results 1 to 2 of 2

Thread: about string

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2004
    Posts
    1

    about string

    if i make a text box to enter text,

    for example, i enter the text like below:
    ask 122

    then can i get the string "122" and display it in message box?

  2. #2
    Fanatic Member pvbangera's Avatar
    Join Date
    Sep 2001
    Location
    Mumbai, India
    Posts
    961
    Exactly what are you looking for?

    If you want to display second word of the text box do this:

    VB Code:
    1. MsgBox(Mid(Text1.Text, Find(" ", 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