Jump to content

Recommended Posts

Posted (edited)

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
Posted (edited)

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.

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
  • Recently Browsing   0 members

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