Guest User

chinstr

a guest
Aug 6th, 2016
92
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. bool
  2. chinstr(char ch, char *str)
  3. {
  4.     while(*str)
  5.         if(ch == *(str++))
  6.             return true;
  7.  
  8.     return false;
  9. }
  10.  
  11. // if(chinstr(*text, " \n\t\r")) ...
RAW Paste Data