Converted stripString to use options object.