Logo

Programming-Idioms

History of Idiom 38 > diff from v28 to v29

Edit summary for version 29 by :
[Go] typo

Version 28

2016-01-01, 00:18:32

Version 29

2016-01-01, 01:55:46

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 := s[i:j]