Changed implements of the normal string find function.