richdiesal
asked on
VB.NET equivalent of split() or explode()
What is the Visual Basic .NET equivalent of PHP's split() or explode() function?
More info: split() and explode() take a string and split it into array components based on another string.
Given a string named $a: "super;really;seriously"
And given command: split($a,";");
An array would be produced: $b[0]="super", $b[1]="really", $b[2]="seriously"
More info: split() and explode() take a string and split it into array components based on another string.
Given a string named $a: "super;really;seriously"
And given command: split($a,";");
An array would be produced: $b[0]="super", $b[1]="really", $b[2]="seriously"
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Perhaps the explode is the same as Join in vb.net? (joins the array back together...)
ASKER
Aha! I was treating it as a function instead of a method - and explode is the same as split. Thanks!
:)
Glad I could be of assistance... (since I can only spell PHP - haha!)
Glad I could be of assistance... (since I can only spell PHP - haha!)