Generic Instance Method
総称体インスタンスメソッド
replacing
replacingOccurrences(of:with:options:range:)
No overview available.
Availability
- iOS 7.0+
- iPadOS 7.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Xcode 10.2+
Technology
- Foundation ファウンデーション
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