Wrote get-arg-string function