CharSequence parsing patch

Parsing accepts CharSequence instead of String to avoid short lived objects creation.
Author: David Pavlis