all tasks
This commit is contained in:
parent
b83f433714
commit
68f8f3e56b
14735 changed files with 178959 additions and 0 deletions
16
Task/Substring/NetRexx/substring.netrexx
Normal file
16
Task/Substring/NetRexx/substring.netrexx
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
/* NetRexx */
|
||||
|
||||
options replace format comments java crossref savelog symbols
|
||||
|
||||
s = 'abcdefghijk'
|
||||
n = 4
|
||||
m = 3
|
||||
|
||||
say s
|
||||
say s.substr(n, m)
|
||||
say s.substr(n)
|
||||
say s.substr(1, s.length - 1)
|
||||
say s.substr(s.pos('def'), m)
|
||||
say s.substr(s.pos('g'), m)
|
||||
|
||||
return
|
||||
Loading…
Add table
Add a link
Reference in a new issue