ArviUTA Posted July 21, 2008 Share Posted July 21, 2008 Please help me search for a word in a string . For example if i have a string "Hello World I am Here". And i want to search for the word "world" in the string, and have to return positive if it does exist.i have given a sampla code #include <Array.au3>#include<String.au3>$string = "Hello world i am here" Link to comment Share on other sites More sharing options...
ProgAndy Posted July 21, 2008 Share Posted July 21, 2008 StringInStr muttley *GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes Link to comment Share on other sites More sharing options...
ArviUTA Posted July 21, 2008 Author Share Posted July 21, 2008 StringInStr muttleyThanks Link to comment Share on other sites More sharing options...
ArviUTA Posted July 21, 2008 Author Share Posted July 21, 2008 ThanksHow can it be made case sensitive Link to comment Share on other sites More sharing options...
ArviUTA Posted July 21, 2008 Author Share Posted July 21, 2008 I found it out thanks Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now