[UiPath, VB.net] How to split string into characters

I was looking for ways to split a string into characters and found this .net string method that works perfectly.

Say you want to split the word elephant into individual characters and display it, just use the method ToCharArray() and it will be converted the way you want it!

Take note to change the TypeArgument of the For Each loop to System.Char

Alternatively, you may also access each character in the string by its index number.

"elephant"(0) returns "e"
"elephant"(1) returns "l"
"elephant"(2) returns "e"
"elephant"(7) returns "t"

You get the drill!