Generic Instance Method

replacingOccurrences(of:with:options:range:)

No overview available.

Declaration

func replacingOccurrences<Target, Replacement>(of target: Target, with replacement: Replacement, options: String.CompareOptions = [], range searchRange: Range<Self.Index>? = nil) -> String where Target : StringProtocol, Replacement : StringProtocol