Trying to parse a System.CommandLin, and I need to get a last word, in this example, it is DASH.
Below directory information could be changed and actually I can’t predict it.
With a Split function having " " delimiter, it doesn’t work.
dim v() as string
v=split(getCommandLine," ")
return v(v.ubound)
not sure why you believe split with " " doesn’t work…
But that being said… I have found that (and this may only be with macOS), that the commandline you THINK you are getting is NOT what you really get.
I had an app where the returned command line on my computer was
yet on another users computer running the same app in the same manner they got
making the code I had to look for the programname incorrect