Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // IsCharInString
- //Usage if(IsCharInString(inputtext,'='))
- //Returns
- //True if string contains current character
- //False if string not contains current character
- stock IsCharInString(string[],character)
- {
- for(new c;c <= strlen(string);c++)
- {
- if(string[c] == character) return true;
- }
- return false;
- }
Advertisement
Add Comment
Please, Sign In to add comment