Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
6
Task/Substring/LiveCode/substring.livecode
Normal file
6
Task/Substring/LiveCode/substring.livecode
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
put "pple" into x
|
||||
answer char 2 to char 5 of x // n = 2, m=5
|
||||
answer char 2 to len(x) of x // n = 2, m = len(x), can also use -1
|
||||
answer char 1 to -2 of x // n = 1, m = 1 less than length of string
|
||||
answer char offset("p",x) to -1 of x // known char "p" to end of string
|
||||
answer char offset("pl",x) to -1 of x // known "pl" to end of string
|
||||
Loading…
Add table
Add a link
Reference in a new issue