Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
8
Task/Substring/PicoLisp/substring.l
Normal file
8
Task/Substring/PicoLisp/substring.l
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
(let Str (chop "This is a string")
|
||||
(prinl (head 4 (nth Str 6))) # From 6 of 4 length
|
||||
(prinl (nth Str 6)) # From 6 up to the end
|
||||
(prinl (head -1 Str)) # Minus last character
|
||||
(prinl (head 8 (member "s" Str))) # From character "s" of length 8
|
||||
(prinl # From "isa" of length 8
|
||||
(head 8
|
||||
(seek '((S) (pre? "is a" S)) Str) ) ) )
|
||||
Loading…
Add table
Add a link
Reference in a new issue