String case: Difference between revisions

Content added Content deleted
Line 2,430: Line 2,430:
Unicode (notice, that this cannot be done simply with a straight forward "ch := ch -$a + $A" loop):
Unicode (notice, that this cannot be done simply with a straight forward "ch := ch -$a + $A" loop):
{{works with|Smalltalk/X}} (may work with other dialects too, but I have not verified)
{{works with|Smalltalk/X}} (may work with other dialects too, but I have not verified)
<lang smalltalk>'ĥåçýджк' asUppercase "-> 'ĤÅÇÝДЖК'
<lang smalltalk> 'αβγω' asUppercase -> 'ΑΒΓΩ'
'ĥåçýджк' asUppercase "-> 'ĤÅÇÝДЖК'
'abcäöüáéíýıijńǵȅȇȉ' asUppercase -> 'ABCÄÖÜÁÉÍÝIIJŃǴȄȆȈ'</lang>
'abcäöüáéíýıijńǵȅȇȉ' asUppercase -> 'ABCÄÖÜÁÉÍÝIIJŃǴȄȆȈ'</lang>