Results 1 to 5 of 5

Thread: how to find single char in a string(dissolved)

  1. #1

    Thread Starter
    Hyperactive Member fret's Avatar
    Join Date
    Sep 2004
    Posts
    472

    how to find single char in a string(dissolved)

    hi there, i need help maybe this is simple my problem is, let say i have a char "B" and i want to find that "B" in the textbox, because if the "B" is present in the textbox which is true then i'll open up a kind of form then if "B" is not present in the textbox which is false then i'll open up another kind of form.
    Hope that explain well, and thanks in advance.
    Last edited by fret; Nov 2nd, 2004 at 01:40 AM.

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    VB Code:
    1. If TextBox1.Text.IndexOf("B") <> -1 Then

  3. #3

    Thread Starter
    Hyperactive Member fret's Avatar
    Join Date
    Sep 2004
    Posts
    472
    you're more than an angel mendhak!!!
    anyway thanks...

  4. #4
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

  5. #5
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682
    Get a room

    I don't live here any more.

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