Link to home
Start Free TrialLog in
Avatar of saulius88
saulius88Flag for United Kingdom of Great Britain and Northern Ireland

asked on

PHP explode equivalent for VB - returning an array from string with unique separators

Does anybody have a subsitute for PHP explode function in VB? I suppose it would have to be written from scratch.

To elaborate:
x="a,b,c"

then

a = FuncExplode(x)

a(1)="a"
a(2)="b"
a(3)="c"

The array variable a, I suppose, could be also passed to a function as ByRef variable.

Suggestions will be most appreciated. Thanks.
ASKER CERTIFIED SOLUTION
Avatar of Éric Moreau
Éric Moreau
Flag of Canada 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
Avatar of saulius88

ASKER

Simple.. Can't believe I was writing functions by hand for that :)

Thanks a bunch.