Advertisement
DraKiNs

[COD] strToLower (with accents)

Aug 27th, 2011
406
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.32 KB | None | 0 0
  1. /*
  2.  *  String To Lower (lowercase string)
  3.  *  It works great with accents
  4.  *  Created by Bruno da Silva
  5.  *  www.ips-team.blogspot.com
  6. */
  7.  
  8. stringToLower(text[])
  9. {
  10.     for(new i, j = strlen(text); j != i; ++i)
  11.     {
  12.         if((90 > text[i] > 64) || (222 > text[i] > 191)) text[i] |= 32;
  13.     }
  14.     return true;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement