Fix StringHelper::substr() call.