Silly title..
Ok here is the problem, is there a "easy" way to parse text in VB6?? If so, how. I'm looking to streamline some stuff and allow myself to use a "C-like" language in one of my projects. (My projects: many and time consuming ;P)
Thanks ahead of time ;D.
VB vs. C (a text file story)
Re:VB vs. C (a text file story)
its very easy to write a 'tokeniser' in vb, since vb is loaded with string native functions, and take some input and token that down into an array.
-- Stu --
Re:VB vs. C (a text file story)
oh ya?
Right now I use instr() to find the next seperator and then use mid$() to pull it out.
Right now I use instr() to find the next seperator and then use mid$() to pull it out.
Re:VB vs. C (a text file story)
what's wrong with that?
if the seperator is always the same, you can use things like Split()
if the seperator is always the same, you can use things like Split()
Re:VB vs. C (a text file story)
@SuperDre: The seperator can be , and {space}.
Split() ea'? I'll look into it. Thanks!
Split() ea'? I'll look into it. Thanks!