Thursday, April 18, 2024 23:29

Posts Tagged ‘split’

Splitting a string by a separator

Friday, April 21st, 2017

There are many cases when we have a string that contains some elements separated by a separator, and we would need to get these elements. For this, we can use the Split() function, which returns an array of strings. The alternative would be to manually search for the separator character using IndexOf() function, then to retrieve the individual substring, and all the extra horrendous work that comes with it.… Read more

Follow the white rabbit