method

split

split(args)
public

Receives an array of args and returns two arrays, one with arguments and one with switches.