Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
8
Task/Substring/Slate/substring.slate
Normal file
8
Task/Substring/Slate/substring.slate
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#s := 'hello world shortest program'.
|
||||
#n := 13.
|
||||
#m := 4.
|
||||
inform: (s copyFrom: n to: n + m).
|
||||
inform: (s copyFrom: n).
|
||||
inform: s allButLast.
|
||||
inform: (s copyFrom: (s indexOf: $w) to: (s indexOf: $w) + m).
|
||||
inform: (s copyFrom: (s indexOfSubSeq: 'ro') to: (s indexOfSubSeq: 'ro') + m).
|
||||
Loading…
Add table
Add a link
Reference in a new issue