Update all new Tasks
This commit is contained in:
parent
00a190b0a6
commit
91df62d461
5697 changed files with 93386 additions and 804 deletions
22
Task/String-matching/Elena/string-matching.elena
Normal file
22
Task/String-matching/Elena/string-matching.elena
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#define system'routines.
|
||||
#define extensions.
|
||||
|
||||
// --- Program ---
|
||||
|
||||
#symbol program =
|
||||
[
|
||||
literalControl starting:"hello" &with:"hel" ?
|
||||
[
|
||||
consoleEx writeLine:"hello starts with hel".
|
||||
].
|
||||
|
||||
literalControl ending:"hello" &with:"llo" ?
|
||||
[
|
||||
consoleEx writeLine:"hello ends with llo".
|
||||
].
|
||||
|
||||
literalControl contain:"el" &in:"hello" ?
|
||||
[
|
||||
consoleEx writeLine:"hello contains el".
|
||||
].
|
||||
].
|
||||
Loading…
Add table
Add a link
Reference in a new issue