Link to home
Start Free TrialLog in
Avatar of richdiesal
richdiesalFlag for United States of America

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"
ASKER CERTIFIED SOLUTION
Avatar of sirbounty
sirbounty
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Perhaps the explode is the same as Join in vb.net? (joins the array back together...)
Avatar of richdiesal

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!)