3

For example I have this string: hello:there:world

How do I split these three words to string array, I mean the final result will be this:

arr[0] = "hello";
arr[1] = "there";
arr[2] = "world";

Thanks in advance.

Adi Inbar
  • 12,097
  • 13
  • 56
  • 69
user2658730
  • 31
  • 1
  • 1
  • 2

0 Answers0