There were 2 function's called something like convert2Upper and Convert2lower (Don't remember the exact names) in Java that took a string broke it into characters and for each char did the following:
If (InputStr[$i] == 'a') InputStr[$i] = 'A';
If (InputStr[$i] == 'b') InputStr[$i] = 'B';
..
..
If (InputStr[$i] == 'z') InputStr[$i] = 'Z';
Written by someone with over 5 years 'experience'.
5 comments
[ 2.6 ms ] story [ 26.2 ms ] threadIf (InputStr[$i] == 'a') InputStr[$i] = 'A'; If (InputStr[$i] == 'b') InputStr[$i] = 'B'; .. .. If (InputStr[$i] == 'z') InputStr[$i] = 'Z';
Written by someone with over 5 years 'experience'.
- Suramya