Logo

Programming-Idioms

History of Idiom 38 > diff from v49 to v50

Edit summary for version 50 by silver-dragon:
New VB implementation by user [silver-dragon]

Version 49

2019-09-27, 16:30:07

Version 50

2019-09-30, 20:06:04

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)

Illustration

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)

Illustration
Code
Dim t As String = s.Substring(i,j)