[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  VBscript
. . -> [Subject]  Explode function?

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Explode function?

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page


Posted by Greven   Canada  (835 posts)  [Biography] bio
Date Mon 19 Dec 2005 10:39 PM (UTC)  quote  ]
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
[Go to top] top

Posted by Beale   (35 posts)  [Biography] bio
Date Reply #1 on Tue 20 Dec 2005 11:00 AM (UTC)  quote  ]
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.)
[Go to top] 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.


7,619 views.

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]