-
Hey...what i want to do is kinda complicated so i think its best just to show you:
i have a file set up like this:
www.url.com Integer /whatever(Path) 1-1-2000
www.url.com Integer /whatever(Path) 1-1-2000
etc...
in other words sets of data delimited by spaces, and lines.What i want to do is first parse the file making each line into a string (or array of strings it doesnt matter)
eg
www.url.com Integer /whatever(Path) 1-1-2000
then seperate those out by words eg
strUrl = www.url.com
intNumber = Integer
strPath = /whatever
so i can assign those to a user defined type.I really have no idea how to even start this considering most of what i know about string ops came from the tutorials on this site =)
btw im using VB5 ent.
Any Help GREATLY appreciated,
CarlosTheJackal
[This message has been edited by CarlosTheJackal (edited 01-04-2000).]
-
It looks like you want to Parse the Strings.
You will have to have some order to the Strings such that they conform to the same format, i.e. length, slashes at the same location ect.. I have sent a Parsing Routine by email. It can be found on VBCode.com or Planetwide