Fix unsafe string slicing in ShouldStartsWith/ShouldEndsWith.
Merge pull request #135 from logan/master

Fix unsafe string slicing in ShouldStartsWith/ShouldEndsWith.