Help with program function calls

Running your program I input

#1234-X

with the Serial monitor line ending set to Newline and got back

ParseCom - The Command is :X

processCmd is X

1234
1257
The Command is :X

Finished

Is that what you expect/want ?
If not then what should the output be ?