Logo

Programming-Idioms

History of Idiom 38 > diff from v26 to v27

Edit summary for version 27 by :
New Go implementation by user [lck]

Version 26

2015-12-18, 03:18:48

Version 27

2016-01-01, 00:18:06

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]