How would you write ToUpper() if it didn’t exist? Bonus points for i18n and L10n
Curiosity sparked by this: http://thedailywtf.com/Articles/The-Long-Way-toUpper.aspx
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here is a sample implementation 😉
😉
Note: The unicode charts which you can find on unicode.org contain the name of the character/code point. This string will contain ‘ SMALL ‘ for characters which are uppercase (mind the blanks or it might match ‘SMALLER’ and the like). Now, you can search for a similar name with ‘SMALL’ replaced with ‘CAPITAL’. If you find it, you’ve found the captial version.