String case: Difference between revisions

Content added Content deleted
Line 2,429: Line 2,429:
<lang smalltalk>'alphabeta' asUppercaseFirst "-> 'Alphabeta' "</lang>
<lang smalltalk>'alphabeta' asUppercaseFirst "-> 'Alphabeta' "</lang>
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 with others 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>
<lang smalltalk>'ĥåçýджк' asUppercase "-> 'ĤÅÇÝДЖК'
'abcäöüáéíýıijńǵȅȇȉ' asUppercase -> 'ABCÄÖÜÁÉÍÝIIJŃǴȄȆȈ'</lang>


=={{header|SNOBOL4}}==
=={{header|SNOBOL4}}==