Split document, matcher

Add string routins to string.h