Add like function to String.prototype with implementation