Post

 Resources 

Console


String Splitting David Goodlad (6 replies, 0 views) (2000-May-9)
-
Hey everyone... It's been quite awhile since I've done file manipulation/string manipulation in VB (php is great, way better way to read in streams etc hehe)... I'm writing a scripting language article for my website which is coming along quite nicely, but I've run into a little snag. I have plain-text files as the scripts (don't ask why...), and need to be able to read from it say, until a '(' is encountered. Then I need to be able to dump whatever was read just prior to this into a variable. I was going to try and use the 'Line Input' statement to grab a single line into a string then try to split it up that way, but have not been successful in figuring out a way to do it without a very convoluted set of 'Left$' and 'Right$' statements... Can anyone offer any suggestions? Thanks! David


-
Back to Forum

RE: String Splitting Adam Hoult (3 replies) (2000-May-9)
RE: String Splitting David Goodlad (2 replies) (2000-May-9)
RE: String Splitting Adam Hoult (0 replies) (2000-May-9)
Another fantastic Function... Rag on a Stick (0 replies) (2000-May-10)
Much easier way... Mattman (1 reply) (2000-May-10)
RE: Much easier way... David Goodlad (0 replies) (2000-May-10)

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.
There have been 54 visitors within the last 20 minutes
RSS News Feed