passing parameters
Hi all,
This is my first time in this forum.
I want to pass command line parameters to a program. For eg. Java programname parameter1 parameter2. but if the first parameter is two word (para meter1), how do I workaround the space in the parameter. It is not taking the first parameter as there is a space in it. Can anyone give some ideas/suggestions.
Thanx.
I'm assuming that you know the args variable in
public static void main(String[] args) {
contains the values you're looking for right? Are you just trying to figure out how to get around them being space-delimited?
> Yea, I tried that too, it gave me error. Any other> suggestions.> > Thanx.Oh, it gave you error eh?Sorry, my crystal ball is broken so I can't read your mind to see what the relevant details of that error were. So I have to ask you to