Added support for startswith, endswith & substringof functions
Improved string parsing, including unicode support (not yet fully tested)