Removed redundant methods in StringProcess.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>