Advertisement
Ewwe

IsStringInString

Mar 4th, 2013
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.27 KB | None | 0 0
  1. //IsStringInString
  2. //Usage  if(IsStringInString(string,"fuck"))
  3. //Returns
  4. //True if string contains string2
  5. //False if string not contins string2
  6.  
  7.  
  8.  
  9. stock IsStringInString(string[],string2[])
  10. {
  11.     if(strfind(string,string2) != -1) return true;
  12.     else return false;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement