Allow null/false in str-replace