cower: replace STR_STARTS_WITH with a static func