Stringmanipulations and a start to textparser