Data update
This commit is contained in:
parent
52a6ef48dd
commit
157b70a810
604 changed files with 14253 additions and 2100 deletions
|
|
@ -0,0 +1,15 @@
|
|||
Module StringMatch {
|
||||
A="Hello World"
|
||||
Print A ~ "Hello*"
|
||||
Print A ~ "*llo*"
|
||||
p=Instr(A, "llo")
|
||||
Print p=3
|
||||
\\ Handle multiple occurance for "o"
|
||||
p=Instr(A, "o")
|
||||
While p > 0 {
|
||||
Print "position:";p;{ for "o"}
|
||||
p=Instr(A, "o", p+1)
|
||||
}
|
||||
Print A ~ "*orld"
|
||||
}
|
||||
StringMatch
|
||||
Loading…
Add table
Add a link
Reference in a new issue