Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ VBscript ➜ Explode function?

Explode function?

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Greven   Canada  (835 posts)  Bio
Date Mon 19 Dec 2005 10:39 PM (UTC)
Message
Does anyone know of an equivelent function to explode in PHP for VBscript? I'm doing some intense file manipulation, and this would make my life so much easier, as I think VBscripts's file I/O pitiful.

thanks alot

Nobody ever expects the spanish inquisition!

darkwarriors.net:4848
http://darkwarriors.net
Top

Posted by Beale   (35 posts)  Bio
Date Reply #1 on Tue 20 Dec 2005 11:00 AM (UTC)
Message
Yep, you want the Split function:

array split (expression[,delimiter[,count[,compare]]])

(Default delimiter is space, default count is unlimited (-1), default compare is textual where 1=textual, 0=binary.)
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


17,884 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.