RosettaCodeData/Task/Substring/Maxima/substring.maxima

6 lines
138 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04: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" */