Fix string version of begins_with

Signed-off-by: Vinzenz Feenstra <evilissimo@gmail.com>