RosettaCodeData/Task/Substring/PL-I/substring.pli
Ingy döt Net 68f8f3e56b all tasks
2013-04-11 01:07:29 -07:00

7 lines
142 B
Text

s='abcdefghijk';
n=4; m=3;
u=substr(s,n,m);
u=substr(s,n);
u=substr(s,1,length(s)-1);
u=substr(s,index(s,'def',m);
u=substr(s,index(s,'g',m);