add possibility to check for null and to retrieve a substring
Merge pull request #100 from mikey179/master

add possibility to check for null and to retrieve a substring