Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 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