RosettaCodeData/Task/Substring/Maxima/substring.maxima

6 lines
138 B
Text
Raw Permalink Normal View History

2013-04-11 01:07:29 -07:00
s: "the quick brown fox jumps over the lazy dog";
substring(s, 17);
/* "fox jumps over the lazy dog" */
substring(s, 17, 20);
/* "fox" */