Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 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