Jump to content

Help Me! String management


Recommended Posts

i need this function.

$word= HotDog!

StringHaveEspecificCharacter( $word, "!")

result:

if string have the specific character return 1

0 if string not have the specific character

----------------------------------------------------------

is only a grotesque example of what I need

There is a similar function?

Edited by GordonFreeman
Link to comment
Share on other sites

The MsgBox should have Thank You as the title, and 7 in the body. StringInStr returns the position of the search string (the ! character in this case), or 0 (zero) if it's not found.

Edited by somdcomputerguy

- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...