Link to home
Start Free TrialLog in
Avatar of XK8ER
XK8ERFlag for United States of America

asked on

php explode in vb.net

hello there,
I would like to know how can you write these 3 lines of code into vb.net

    $secret = explode(chr(3),$result);
    $secret = explode(chr(1),$secret[2]);
    $secret = $secret[0];

Open in new window

Avatar of Brendan M
Brendan M
Flag of Australia image

Hey I'm not 100% if this would work, as I usually code in C#

but it could be a starting

Dim secreta() As String = Split(result, Chr(3))
secreta = Split(secreta(2), Chr(1))
secret = secret(0)

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of tap52384
tap52384
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