MeLight
September 16th, 2008, 01:24 PM
Hi all,
my first post here, so be gentle with me :D
I'm working on a string tokenizer in Java, until now I got the texts from file inputs and all was good. Now we'll be needing to input the strings through command line (run it from PHP scripts and such), ie as an args[] argument. The problem is that the strings contain quotes (') which make the execution impossible.
The question is can I escape those somehow or pass the text in some other way? thanx (whew that was long)
my first post here, so be gentle with me :D
I'm working on a string tokenizer in Java, until now I got the texts from file inputs and all was good. Now we'll be needing to input the strings through command line (run it from PHP scripts and such), ie as an args[] argument. The problem is that the strings contain quotes (') which make the execution impossible.
The question is can I escape those somehow or pass the text in some other way? thanx (whew that was long)