Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
15
Task/String-case/Elena/string-case.elena
Normal file
15
Task/String-case/Elena/string-case.elena
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
import system'culture;
|
||||
|
||||
public program()
|
||||
{
|
||||
string s1 := "alphaBETA";
|
||||
|
||||
// Alternative 1
|
||||
console.writeLine(s1.lowerCase());
|
||||
console.writeLine(s1.upperCase());
|
||||
|
||||
// Alternative 2
|
||||
console.writeLine(s1.toLower(currentLocale));
|
||||
console.writeLine(s1.toUpper(currentLocale));
|
||||
console.readChar()
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue