Is there a way for a c-script application to interprete a command line parameter as a string like this;

-parname "teststring"

If so, how can I use the string in the script?