Added string parsing methods

They don't quite work yet.