Monday, June 05, 2023 10:06

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