Logo

Programming-Idioms

History of Idiom 38 > diff from v18 to v19

Edit summary for version 19 by :

Version 18

2015-09-03, 15:30:12

Version 19

2015-09-05, 15:26:07

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
String.slice(_string, _i.._j-1)