The code bellow splits a string into strings of seven characters each into an array. Can someone please explain how it works in detail?
Dim orig = "12344321678900987"
Dim res = Enumerable.Range(0,orig.Length\8).[Select](Function(i) orig.Substring(i*8,8))
Aucun commentaire:
Enregistrer un commentaire