Generic Instance Method
総称体インスタンスメソッド
range(of:
range(of:options:range:locale:)
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 range<T>(of aString: T, options mask: String
.CompareOptions
= [], range searchRange: Range
<Self.Index
>? = nil, locale: Locale
? = nil) -> Range
<Self.Index
>? where T : StringProtocol