Hi everyone,
I know that we can pass string as command line argument and use it as we want. But, can we pass a text like "this or that" (with several spaces)?? Is there any way??

Recommended Answers

Yes, pass string in quotes as you have above.

Jump to Post

All 2 Replies

Yes, pass string in quotes as you have above.

oh yea!! That's it Thanks :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.