I have this very simple question and for the life of me i can't even google it right.
pretty much I am creating a command line program. It will accept arguments so someone can type inCode:Dim params() As String = args For Each parameter In params If parameter.StartsWith("-") Then Options.Add(parameter) End If Next
All i want it so get the params that start with - and store them in my Options (list of string).Code:prog.exe blah blah -t -f -v
then I want to delete them from the orignal array so I am only left with "blah blah"


Reply With Quote
