Here is an example from the engine for how to call a function with arbitrary argument parsing.
Note: This already exists, so if your parameters are already in text to begin with, then you might be better off just calling it directly, instead of duplicating it / writing similar code.
Cheers,
Michael Noland