NativeString Extension
Location
-
Reference:
- Swift.dll .NET, .NET Standard 2.0
- swift.jar Cooper
- Swift.fx Island
- libSwift.fx Toffee
- Namespace: Swift
- Extends: NativeString
constructor withCount(not nullable Int) repeatedValue(not nullable Char)
constructor withCount(count: not nullable Int) repeatedValue(c: not nullable Char)
NativeString withCount(Int! count) repeatedValue(Char! c)
init(withCount count: Int, repeatedValue c: Char)
NativeString withCount(Int! count) repeatedValue(Char! c)
Parameters:
- count:
- c:
constructor (not nullable Char)
Parameters:
- c:
constructor withReflecting(not nullable Object) .NET, .NET Standard 2.0
constructor withReflecting(object: not nullable Object)
NativeString withReflecting(Object! object)
init(withReflecting object: Object)
Parameters:
- object:
constructor withReflecting(not nullable Object) Cooper
constructor withReflecting(object: not nullable Object)
NativeString withReflecting(Object! object)
init(withReflecting object: Object)
NativeString withReflecting(Object! object)
Parameters:
- object:
constructor withReflecting(not nullable Object) Island
constructor withReflecting(object: not nullable Object)
NativeString withReflecting(Object! object)
init(withReflecting object: Object)
Parameters:
- object:
constructor withReflecting(not nullable Object) Toffee
init(withReflecting object: Object)
Parameters:
- object:
characters .NET, .NET Standard 2.0, Cooper, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Toffee
property characters: not nullable SwiftString.CharacterView read;
SwiftString.CharacterView! characters { get; }
var characters: SwiftString.CharacterView { get{} }
SwiftString.CharacterView! characters { __get; }
debugDescription .NET, .NET Standard 2.0, Cooper, Island
property debugDescription: not nullable NativeString read;
NativeString! debugDescription { get; }
var debugDescription: NativeString { get{} }
NativeString! debugDescription { __get; }
endIndex
// .NET, .NET Standard 2.0, Island-Android-arm64-v8a, Island-Android-x86_64, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu-aarch64, Island-Ubuntu-x86_64, Island-UIKit for Mac-x86_64, Island-watchOS Simulator-x86_64, Island-Windows-x86_64
property endIndex: not nullable Int64 read;
// Island-Android-armeabi, Island-Android-armeabi-v7a, Island-Android-x86, Island-Ubuntu-armv6, Island-watchOS, Island-watchOS Simulator-i386, Island-WebAssembly-wasm32, Island-Windows-i386
property endIndex: not nullable Int32 read;
// .NET, .NET Standard 2.0, Island-Android-arm64-v8a, Island-Android-x86_64, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu-aarch64, Island-Ubuntu-x86_64, Island-UIKit for Mac-x86_64, Island-watchOS Simulator-x86_64, Island-Windows-x86_64
Int64! endIndex { get; }
// Island-Android-armeabi, Island-Android-armeabi-v7a, Island-Android-x86, Island-Ubuntu-armv6, Island-watchOS, Island-watchOS Simulator-i386, Island-WebAssembly-wasm32, Island-Windows-i386
Int32! endIndex { get; }
// .NET, .NET Standard 2.0, Island-Android-arm64-v8a, Island-Android-x86_64, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu-aarch64, Island-Ubuntu-x86_64, Island-UIKit for Mac-x86_64, Island-watchOS Simulator-x86_64, Island-Windows-x86_64, Toffee-iOS, Toffee-iOS Simulator, Toffee-macOS, Toffee-tvOS, Toffee-tvOS Simulator, Toffee-UIKit for Mac
var endIndex: Int64 { get{} }
// Island-Android-armeabi, Island-Android-armeabi-v7a, Island-Android-x86, Island-Ubuntu-armv6, Island-watchOS, Island-watchOS Simulator-i386, Island-WebAssembly-wasm32, Island-Windows-i386, Toffee-watchOS, Toffee-watchOS Simulator
var endIndex: Int32 { get{} }
Int64! endIndex { __get; }
fromCString Toffee
static func fromCString(cs: UnsafeMutablePointer<AnsiChar>) -> NativeString?
Parameters:
- cs:
fromCStringRepairingIllFormedUTF8 Toffee
Parameters:
- cs:
hashValue
property hashValue: not nullable Int read;
Int! hashValue { get; }
var hashValue: Int { get{} }
Int! hashValue { __get; }
hasPrefix .NET, .NET Standard 2.0, Cooper, Island
method hasPrefix(prefix: not nullable NativeString): not nullable Bool
Bool! hasPrefix(NativeString! prefix)
func hasPrefix(_ prefix: NativeString) -> Bool
Bool! hasPrefix(NativeString! prefix)
Parameters:
- prefix:
hasSuffix .NET, .NET Standard 2.0, Cooper, Island
method hasSuffix(suffix: not nullable NativeString): not nullable Bool
Bool! hasSuffix(NativeString! suffix)
func hasSuffix(_ suffix: NativeString) -> Bool
Bool! hasSuffix(NativeString! suffix)
Parameters:
- suffix:
isEmpty
property isEmpty: not nullable Bool read;
Bool! isEmpty { get; }
var isEmpty: Bool { get{} }
Bool! isEmpty { __get; }
Item
property Item[range: not nullable Range]: not nullable NativeString read;
NativeString! Item[Range! range] { get; }
subscript Item(_ range: Range) -> NativeString { get{} }
NativeString! Item[Range! range] { __get; }
length .NET, .NET Standard 2.0, Island
method length: not nullable Int
Int! length()
func length() -> Int
lowercased
method lowercased: not nullable NativeString
NativeString! lowercased()
func lowercased() -> NativeString
NativeString! lowercased()
startIndex
// .NET, .NET Standard 2.0, Island-Android-arm64-v8a, Island-Android-x86_64, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu-aarch64, Island-Ubuntu-x86_64, Island-UIKit for Mac-x86_64, Island-watchOS Simulator-x86_64, Island-Windows-x86_64
property startIndex: not nullable Int64 read;
// Island-Android-armeabi, Island-Android-armeabi-v7a, Island-Android-x86, Island-Ubuntu-armv6, Island-watchOS, Island-watchOS Simulator-i386, Island-WebAssembly-wasm32, Island-Windows-i386
property startIndex: not nullable Int32 read;
// .NET, .NET Standard 2.0, Island-Android-arm64-v8a, Island-Android-x86_64, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu-aarch64, Island-Ubuntu-x86_64, Island-UIKit for Mac-x86_64, Island-watchOS Simulator-x86_64, Island-Windows-x86_64
Int64! startIndex { get; }
// Island-Android-armeabi, Island-Android-armeabi-v7a, Island-Android-x86, Island-Ubuntu-armv6, Island-watchOS, Island-watchOS Simulator-i386, Island-WebAssembly-wasm32, Island-Windows-i386
Int32! startIndex { get; }
// .NET, .NET Standard 2.0, Island-Android-arm64-v8a, Island-Android-x86_64, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu-aarch64, Island-Ubuntu-x86_64, Island-UIKit for Mac-x86_64, Island-watchOS Simulator-x86_64, Island-Windows-x86_64, Toffee-iOS, Toffee-iOS Simulator, Toffee-macOS, Toffee-tvOS, Toffee-tvOS Simulator, Toffee-UIKit for Mac
var startIndex: Int64 { get{} }
// Island-Android-armeabi, Island-Android-armeabi-v7a, Island-Android-x86, Island-Ubuntu-armv6, Island-watchOS, Island-watchOS Simulator-i386, Island-WebAssembly-wasm32, Island-Windows-i386, Toffee-watchOS, Toffee-watchOS Simulator
var startIndex: Int32 { get{} }
Int64! startIndex { __get; }
toInt
unicodeScalars
property unicodeScalars: not nullable UnicodeScalarView read;
UnicodeScalarView! unicodeScalars { get; }
var unicodeScalars: UnicodeScalarView { get{} }
UnicodeScalarView! unicodeScalars { __get; }
uppercased
method uppercased: not nullable NativeString
NativeString! uppercased()
func uppercased() -> NativeString
NativeString! uppercased()
utf16
property utf16: not nullable SwiftString.UTF16View read;
SwiftString.UTF16View! utf16 { get; }
var utf16: SwiftString.UTF16View { get{} }
SwiftString.UTF16View! utf16 { __get; }
utf8
property utf8: not nullable SwiftString.UTF8View read;
SwiftString.UTF8View! utf8 { get; }
var utf8: SwiftString.UTF8View { get{} }
SwiftString.UTF8View! utf8 { __get; }
withUTF8Buffer<R> (not nullable Func<not nullable array of not nullable UTF8Char, not nullable R>): not nullable R Toffee
func withUTF8Buffer<R>(_ body: (UTF8Char...) -> R) -> R
Parameters:
- body:
withUTF8Buffer<R> (not nullable $DelegateRes_arg0$_<not nullable array of not nullable UTF8Char, not nullable R>): not nullable R .NET, .NET Standard 2.0, Cooper
method withUTF8Buffer<R>(body: not nullable $DelegateRes_arg0$_<not nullable array of not nullable UTF8Char, not nullable R>): not nullable R
R! withUTF8Buffer<R>($DelegateRes_arg0$_<UTF8Char![]!, R!>! body)
func withUTF8Buffer<R>(_ body: $DelegateRes_arg0$_<UTF8Char..., R>) -> R
R! withUTF8Buffer<R>($DelegateRes_arg0$_<UTF8Char![]!, R!>! body)
Parameters:
- body:
characters .NET, .NET Standard 2.0, Cooper, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Toffee
property characters: not nullable SwiftString.CharacterView read;
SwiftString.CharacterView! characters { get; }
var characters: SwiftString.CharacterView { get{} }
SwiftString.CharacterView! characters { __get; }
debugDescription .NET, .NET Standard 2.0, Cooper, Island
property debugDescription: not nullable NativeString read;
NativeString! debugDescription { get; }
var debugDescription: NativeString { get{} }
NativeString! debugDescription { __get; }
endIndex
// .NET, .NET Standard 2.0, Island-Android-arm64-v8a, Island-Android-x86_64, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu-aarch64, Island-Ubuntu-x86_64, Island-UIKit for Mac-x86_64, Island-watchOS Simulator-x86_64, Island-Windows-x86_64
property endIndex: not nullable Int64 read;
// Island-Android-armeabi, Island-Android-armeabi-v7a, Island-Android-x86, Island-Ubuntu-armv6, Island-watchOS, Island-watchOS Simulator-i386, Island-WebAssembly-wasm32, Island-Windows-i386
property endIndex: not nullable Int32 read;
// .NET, .NET Standard 2.0, Island-Android-arm64-v8a, Island-Android-x86_64, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu-aarch64, Island-Ubuntu-x86_64, Island-UIKit for Mac-x86_64, Island-watchOS Simulator-x86_64, Island-Windows-x86_64
Int64! endIndex { get; }
// Island-Android-armeabi, Island-Android-armeabi-v7a, Island-Android-x86, Island-Ubuntu-armv6, Island-watchOS, Island-watchOS Simulator-i386, Island-WebAssembly-wasm32, Island-Windows-i386
Int32! endIndex { get; }
// .NET, .NET Standard 2.0, Island-Android-arm64-v8a, Island-Android-x86_64, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu-aarch64, Island-Ubuntu-x86_64, Island-UIKit for Mac-x86_64, Island-watchOS Simulator-x86_64, Island-Windows-x86_64, Toffee-iOS, Toffee-iOS Simulator, Toffee-macOS, Toffee-tvOS, Toffee-tvOS Simulator, Toffee-UIKit for Mac
var endIndex: Int64 { get{} }
// Island-Android-armeabi, Island-Android-armeabi-v7a, Island-Android-x86, Island-Ubuntu-armv6, Island-watchOS, Island-watchOS Simulator-i386, Island-WebAssembly-wasm32, Island-Windows-i386, Toffee-watchOS, Toffee-watchOS Simulator
var endIndex: Int32 { get{} }
Int64! endIndex { __get; }
hashValue
property hashValue: not nullable Int read;
Int! hashValue { get; }
var hashValue: Int { get{} }
Int! hashValue { __get; }
isEmpty
property isEmpty: not nullable Bool read;
Bool! isEmpty { get; }
var isEmpty: Bool { get{} }
Bool! isEmpty { __get; }
Item
property Item[range: not nullable Range]: not nullable NativeString read;
NativeString! Item[Range! range] { get; }
subscript Item(_ range: Range) -> NativeString { get{} }
NativeString! Item[Range! range] { __get; }
startIndex
// .NET, .NET Standard 2.0, Island-Android-arm64-v8a, Island-Android-x86_64, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu-aarch64, Island-Ubuntu-x86_64, Island-UIKit for Mac-x86_64, Island-watchOS Simulator-x86_64, Island-Windows-x86_64
property startIndex: not nullable Int64 read;
// Island-Android-armeabi, Island-Android-armeabi-v7a, Island-Android-x86, Island-Ubuntu-armv6, Island-watchOS, Island-watchOS Simulator-i386, Island-WebAssembly-wasm32, Island-Windows-i386
property startIndex: not nullable Int32 read;
// .NET, .NET Standard 2.0, Island-Android-arm64-v8a, Island-Android-x86_64, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu-aarch64, Island-Ubuntu-x86_64, Island-UIKit for Mac-x86_64, Island-watchOS Simulator-x86_64, Island-Windows-x86_64
Int64! startIndex { get; }
// Island-Android-armeabi, Island-Android-armeabi-v7a, Island-Android-x86, Island-Ubuntu-armv6, Island-watchOS, Island-watchOS Simulator-i386, Island-WebAssembly-wasm32, Island-Windows-i386
Int32! startIndex { get; }
// .NET, .NET Standard 2.0, Island-Android-arm64-v8a, Island-Android-x86_64, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu-aarch64, Island-Ubuntu-x86_64, Island-UIKit for Mac-x86_64, Island-watchOS Simulator-x86_64, Island-Windows-x86_64, Toffee-iOS, Toffee-iOS Simulator, Toffee-macOS, Toffee-tvOS, Toffee-tvOS Simulator, Toffee-UIKit for Mac
var startIndex: Int64 { get{} }
// Island-Android-armeabi, Island-Android-armeabi-v7a, Island-Android-x86, Island-Ubuntu-armv6, Island-watchOS, Island-watchOS Simulator-i386, Island-WebAssembly-wasm32, Island-Windows-i386, Toffee-watchOS, Toffee-watchOS Simulator
var startIndex: Int32 { get{} }
Int64! startIndex { __get; }
unicodeScalars
property unicodeScalars: not nullable UnicodeScalarView read;
UnicodeScalarView! unicodeScalars { get; }
var unicodeScalars: UnicodeScalarView { get{} }
UnicodeScalarView! unicodeScalars { __get; }
utf16
property utf16: not nullable SwiftString.UTF16View read;
SwiftString.UTF16View! utf16 { get; }
var utf16: SwiftString.UTF16View { get{} }
SwiftString.UTF16View! utf16 { __get; }
utf8
property utf8: not nullable SwiftString.UTF8View read;
SwiftString.UTF8View! utf8 { get; }
var utf8: SwiftString.UTF8View { get{} }
SwiftString.UTF8View! utf8 { __get; }
fromCString Toffee
static func fromCString(cs: UnsafeMutablePointer<AnsiChar>) -> NativeString?
Parameters:
- cs:
fromCStringRepairingIllFormedUTF8 Toffee
Parameters:
- cs:
constructor withCount(not nullable Int) repeatedValue(not nullable Char)
constructor withCount(count: not nullable Int) repeatedValue(c: not nullable Char)
NativeString withCount(Int! count) repeatedValue(Char! c)
init(withCount count: Int, repeatedValue c: Char)
NativeString withCount(Int! count) repeatedValue(Char! c)
Parameters:
- count:
- c:
constructor (not nullable Char)
Parameters:
- c:
constructor withReflecting(not nullable Object) .NET, .NET Standard 2.0
constructor withReflecting(object: not nullable Object)
NativeString withReflecting(Object! object)
init(withReflecting object: Object)
Parameters:
- object:
constructor withReflecting(not nullable Object) Cooper
constructor withReflecting(object: not nullable Object)
NativeString withReflecting(Object! object)
init(withReflecting object: Object)
NativeString withReflecting(Object! object)
Parameters:
- object:
constructor withReflecting(not nullable Object) Island
constructor withReflecting(object: not nullable Object)
NativeString withReflecting(Object! object)
init(withReflecting object: Object)
Parameters:
- object:
constructor withReflecting(not nullable Object) Toffee
init(withReflecting object: Object)
Parameters:
- object:
hasPrefix .NET, .NET Standard 2.0, Cooper, Island
method hasPrefix(prefix: not nullable NativeString): not nullable Bool
Bool! hasPrefix(NativeString! prefix)
func hasPrefix(_ prefix: NativeString) -> Bool
Bool! hasPrefix(NativeString! prefix)
Parameters:
- prefix:
hasSuffix .NET, .NET Standard 2.0, Cooper, Island
method hasSuffix(suffix: not nullable NativeString): not nullable Bool
Bool! hasSuffix(NativeString! suffix)
func hasSuffix(_ suffix: NativeString) -> Bool
Bool! hasSuffix(NativeString! suffix)
Parameters:
- suffix:
length .NET, .NET Standard 2.0, Island
method length: not nullable Int
Int! length()
func length() -> Int
lowercased
method lowercased: not nullable NativeString
NativeString! lowercased()
func lowercased() -> NativeString
NativeString! lowercased()
toInt
uppercased
method uppercased: not nullable NativeString
NativeString! uppercased()
func uppercased() -> NativeString
NativeString! uppercased()
withUTF8Buffer<R> (not nullable Func<not nullable array of not nullable UTF8Char, not nullable R>): not nullable R Toffee
func withUTF8Buffer<R>(_ body: (UTF8Char...) -> R) -> R
Parameters:
- body:
withUTF8Buffer<R> (not nullable $DelegateRes_arg0$_<not nullable array of not nullable UTF8Char, not nullable R>): not nullable R .NET, .NET Standard 2.0, Cooper
method withUTF8Buffer<R>(body: not nullable $DelegateRes_arg0$_<not nullable array of not nullable UTF8Char, not nullable R>): not nullable R
R! withUTF8Buffer<R>($DelegateRes_arg0$_<UTF8Char![]!, R!>! body)
func withUTF8Buffer<R>(_ body: $DelegateRes_arg0$_<UTF8Char..., R>) -> R
R! withUTF8Buffer<R>($DelegateRes_arg0$_<UTF8Char![]!, R!>! body)
Parameters:
- body: