September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
3
Task/String-matching/Zkl/string-matching-2.zkl
Normal file
3
Task/String-matching/Zkl/string-matching-2.zkl
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
fcn f(text,p){ if(Void!=(n:=text.find(p)))println("Contained @",n) else println("Nope") }
|
||||
f("foobar","ob") //--> Contained @2
|
||||
f("foobar","food") //--> Nope
|
||||
Loading…
Add table
Add a link
Reference in a new issue