/// <summary> /// Splits a full command string set into an array of ListCommands. /// </summary> /// <remarks>You don't need to use this from your code.</remarks> /// <param name="postedCommands">The set of commands to split.</param> /// <returns>The created array of ListCommands.</returns> public static ListCommand[] Split(String postedCommands) { String[] commandsText = postedCommands.Split(commandSeperator); ListCommand[] commands = new ListCommand[commandsText.Length]; for (Int32 i = 0; i < commandsText.Length; i++) { commands[i] = ListCommand.Parse(commandsText[i]); } return(commands); }