Size: 639
Comment:
|
Size: 656
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 28: | Line 28: |
CategoryDyalogExamplesDotNet | CategoryDyalogExamplesDotNet CategoryDyalog |
netUpperLowerCase
LowerCase and UpperCase
The 2 functions ToLowercase and ToUppercase are used when dealing with Unicode characters:
ToLowercase←{ (0=1↑0⍴⍵):'' ⎕USING←',mscorlib.dll' (⎕NEW System.String(⊂,⍵)).ToLowerInvariant } ToUppercase←{ (0=1↑0⍴⍵):'' ⎕USING←',mscorlib.dll' (⎕NEW System.String(⊂,⍵)).ToUpperInvariant } ToUppercase 'monday' MONDAY ToUppercase¨ 'sunday' 'monday' 'tuesday' SUNDAY MONDAY TUESDAY ToUppercase 'Вторник' ВТОРНИК