Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 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