Just in case you need an elegant syntax for slices, use [BackwardsIndex](https://nim-lang.org/docs/system.html#%5E.t%2Cint) '^': import std/cmdline echo commandLineParams()[1..^1] # '^1' is a shorthand for (list.length - 1) # test.exe a b c # @["b", "c"] Run
- how to get the string of all command line parameters except... hevaf
- how to get the string of all command line parameters e... juancarlospaco
- how to get the string of all command line paramete... hevaf
- how to get the string of all command line para... janAkali
