Data update
This commit is contained in:
parent
35bcdeebf8
commit
74c69a0df6
2427 changed files with 31826 additions and 3468 deletions
9
Task/Empty-string/EMal/empty-string.emal
Normal file
9
Task/Empty-string/EMal/empty-string.emal
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# Demonstrate how to assign an empty string to a variable.
|
||||
text sampleA = Text.EMPTY
|
||||
text sampleB = "hello world"
|
||||
text sampleC = ""
|
||||
List samples = text[sampleA, sampleB, sampleC]
|
||||
for each text sample in samples
|
||||
# Demonstrate how to check that a string is empty.
|
||||
writeLine("Is '" + sample + "' empty? " + when(sample.isEmpty(), "Yes", "No") + ".")
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue