Logo

Programming-Idioms

History of Idiom 38 > diff from v9 to v10

Edit summary for version 10 by :

Version 9

2015-08-21, 23:15:39

Version 10

2015-08-22, 00:24:25

Idiom #38 Extract a substring

Find substring t consisting in characters i (included) to j (excluded) of string s.
(character indexes start at 0 unless specified otherwise)

Idiom #38 Extract a substring

Find substring t consisting in characters i (included) to j (excluded) of string s.
(character indexes start at 0 unless specified otherwise)

Code
t := copy(s,i+1,j-i);