NativeString Extension

Location

  • Reference:
    • Swift.dll  .NET
    • swift.jar  Cooper
    • Swift.fx  Island
    • libSwift.fx  Toffee
  • Namespace: Swift
  • Extends: NativeString

 

constructor withDescribing(not nullable Object) .NET

 

constructor withDescribing(subject: not nullable Object)

 

NativeString withDescribing(Object! subject)

 

init(withDescribing subject: Object)

 

NativeString withDescribing(Object! subject)

Parameters:

  • subject:

constructor (not nullable AnyObject)

 

constructor(object: not nullable AnyObject)

 

NativeString(AnyObject! object)

 

init(_ object: AnyObject)

 

NativeString(AnyObject! object)

Parameters:

  • object:

constructor (not nullable Char)

 

constructor(c: not nullable Char)

 

NativeString(Char! c)

 

init(_ c: Char)

 

NativeString(Char! c)

Parameters:

  • c:

constructor withCount(not nullable Int) repeatedValue(not nullable Char) .NET, Cooper, Island

 

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 withDescribing(not nullable Object) Cooper

 

constructor withDescribing(subject: not nullable Object)

 

NativeString withDescribing(Object! subject)

 

init(withDescribing subject: Object)

 

NativeString withDescribing(Object! subject)

Parameters:

  • subject:

constructor withDescribing(not nullable Object) Island

 

constructor withDescribing(subject: not nullable Object)

 

NativeString withDescribing(Object! subject)

 

init(withDescribing subject: Object)

Parameters:

  • subject:

constructor describing(not nullable Object) Toffee

 

init(describing subject: Object)

Parameters:

  • subject:

characters

 

property characters: not nullable SwiftString.CharacterView read;

 

SwiftString.CharacterView! characters { get; }

 

var characters: SwiftString.CharacterView { get{} }

 

SwiftString.CharacterView! characters { __get; }

debugDescription .NET, Cooper, Island

 

property debugDescription: not nullable NativeString read;

 

NativeString! debugDescription { get; }

 

var debugDescription: NativeString { get{} }

 

NativeString! debugDescription { __get; }

endIndex

 

// .NET, 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-x86_64, Island-watchOS Simulator-x86_64, Island-watchOS-arm64, 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 Simulator-i386, Island-watchOS-armv7k, Island-WebAssembly-wasm32, Island-Windows-i386
property endIndex: not nullable Int32 read;

 

// .NET, 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-x86_64, Island-watchOS Simulator-x86_64, Island-watchOS-arm64, Island-Windows-x86_64
Int64! endIndex { get; }
// Island-Android-armeabi, Island-Android-armeabi-v7a, Island-Android-x86, Island-Ubuntu-armv6, Island-watchOS Simulator-i386, Island-watchOS-armv7k, Island-WebAssembly-wasm32, Island-Windows-i386
Int32! endIndex { get; }

 

// .NET, 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-x86_64, Island-watchOS Simulator-x86_64, Island-watchOS-arm64, Island-Windows-x86_64, Toffee-iOS, Toffee-iOS Simulator, Toffee-macOS, Toffee-tvOS, Toffee-tvOS Simulator, Toffee-watchOS
var endIndex: Int64 { get{} }
// Island-Android-armeabi, Island-Android-armeabi-v7a, Island-Android-x86, Island-Ubuntu-armv6, Island-watchOS Simulator-i386, Island-watchOS-armv7k, Island-WebAssembly-wasm32, Island-Windows-i386, Toffee-watchOS Simulator
var endIndex: Int32 { get{} }

 

Int64! endIndex { __get; }

fromCString Toffee

 

static func fromCString(cs: UnsafeMutablePointer<AnsiChar>) -> NativeString?

Parameters:

  • cs:

fromCStringRepairingIllFormedUTF8 Toffee

 

static func fromCStringRepairingIllFormedUTF8(_ cs: UnsafeMutablePointer<AnsiChar>) -> Tuple2<wrapped nullable NativeString, not nullable nullable Boolean>

Parameters:

  • cs:

hashValue

 

property hashValue: not nullable Int read;

 

Int! hashValue { get; }

 

var hashValue: Int { get{} }

 

Int! hashValue { __get; }

hasPrefix .NET, 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, 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:

initWithCount Toffee

 

func initWithCount(count: Int, repeatedValue c: Char) -> instancetype

Parameters:

  • count:
  • c:

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, Island

 

method length: not nullable Int

 

Int! length()

 

func length() -> Int

lowercaseString .NET, Cooper, Island

 

property lowercaseString: not nullable NativeString read;

 

NativeString! lowercaseString { get; }

 

var lowercaseString: NativeString { get{} }

 

NativeString! lowercaseString { __get; }

startIndex

 

// .NET, 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-x86_64, Island-watchOS Simulator-x86_64, Island-watchOS-arm64, 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 Simulator-i386, Island-watchOS-armv7k, Island-WebAssembly-wasm32, Island-Windows-i386
property startIndex: not nullable Int32 read;

 

// .NET, 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-x86_64, Island-watchOS Simulator-x86_64, Island-watchOS-arm64, Island-Windows-x86_64
Int64! startIndex { get; }
// Island-Android-armeabi, Island-Android-armeabi-v7a, Island-Android-x86, Island-Ubuntu-armv6, Island-watchOS Simulator-i386, Island-watchOS-armv7k, Island-WebAssembly-wasm32, Island-Windows-i386
Int32! startIndex { get; }

 

// .NET, 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-x86_64, Island-watchOS Simulator-x86_64, Island-watchOS-arm64, Island-Windows-x86_64, Toffee-iOS, Toffee-iOS Simulator, Toffee-macOS, Toffee-tvOS, Toffee-tvOS Simulator, Toffee-watchOS
var startIndex: Int64 { get{} }
// Island-Android-armeabi, Island-Android-armeabi-v7a, Island-Android-x86, Island-Ubuntu-armv6, Island-watchOS Simulator-i386, Island-watchOS-armv7k, Island-WebAssembly-wasm32, Island-Windows-i386, Toffee-watchOS Simulator
var startIndex: Int32 { get{} }

 

Int64! startIndex { __get; }

toInt

 

method toInt: nullable Int

 

Int? toInt()

 

func toInt() -> Int?

 

Long? toInt()

unicodeScalars .NET, Cooper, Toffee

 

property unicodeScalars: not nullable UnicodeScalarView read;

 

UnicodeScalarView! unicodeScalars { get; }

 

var unicodeScalars: UnicodeScalarView { get{} }

 

UnicodeScalarView! unicodeScalars { __get; }

uppercaseString .NET, Cooper, Island

 

property uppercaseString: not nullable NativeString read;

 

NativeString! uppercaseString { get; }

 

var uppercaseString: NativeString { get{} }

 

NativeString! uppercaseString { __get; }

utf16

 

property utf16: not nullable SwiftString.UTF16View read;

 

SwiftString.UTF16View! utf16 { get; }

 

var utf16: SwiftString.UTF16View { get{} }

 

SwiftString.UTF16View! utf16 { __get; }

utf8 .NET, Cooper, Toffee

 

property utf8: not nullable SwiftString.UTF8View read;

 

SwiftString.UTF8View! utf8 { get; }

 

var utf8: SwiftString.UTF8View { get{} }

 

SwiftString.UTF8View! utf8 { __get; }

withUTF8Buffer<R> .NET, Cooper, Toffee

 

method withUTF8Buffer<R>(body: not nullable Func<not nullable array of not nullable UTF8Char, not nullable R>): not nullable R

 

R! withUTF8Buffer<R>(Func<UTF8Char![]!, R!>! body)

 

func withUTF8Buffer<R>(_ body: (UTF8Char...) -> R) -> R

 

R! withUTF8Buffer<R>(Func2<not nullable array of not nullable UTF8Char, not nullable R>! body)

Parameters:

  • body:

 

characters

 

property characters: not nullable SwiftString.CharacterView read;

 

SwiftString.CharacterView! characters { get; }

 

var characters: SwiftString.CharacterView { get{} }

 

SwiftString.CharacterView! characters { __get; }

debugDescription .NET, Cooper, Island

 

property debugDescription: not nullable NativeString read;

 

NativeString! debugDescription { get; }

 

var debugDescription: NativeString { get{} }

 

NativeString! debugDescription { __get; }

endIndex

 

// .NET, 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-x86_64, Island-watchOS Simulator-x86_64, Island-watchOS-arm64, 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 Simulator-i386, Island-watchOS-armv7k, Island-WebAssembly-wasm32, Island-Windows-i386
property endIndex: not nullable Int32 read;

 

// .NET, 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-x86_64, Island-watchOS Simulator-x86_64, Island-watchOS-arm64, Island-Windows-x86_64
Int64! endIndex { get; }
// Island-Android-armeabi, Island-Android-armeabi-v7a, Island-Android-x86, Island-Ubuntu-armv6, Island-watchOS Simulator-i386, Island-watchOS-armv7k, Island-WebAssembly-wasm32, Island-Windows-i386
Int32! endIndex { get; }

 

// .NET, 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-x86_64, Island-watchOS Simulator-x86_64, Island-watchOS-arm64, Island-Windows-x86_64, Toffee-iOS, Toffee-iOS Simulator, Toffee-macOS, Toffee-tvOS, Toffee-tvOS Simulator, Toffee-watchOS
var endIndex: Int64 { get{} }
// Island-Android-armeabi, Island-Android-armeabi-v7a, Island-Android-x86, Island-Ubuntu-armv6, Island-watchOS Simulator-i386, Island-watchOS-armv7k, Island-WebAssembly-wasm32, Island-Windows-i386, 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; }

lowercaseString .NET, Cooper, Island

 

property lowercaseString: not nullable NativeString read;

 

NativeString! lowercaseString { get; }

 

var lowercaseString: NativeString { get{} }

 

NativeString! lowercaseString { __get; }

startIndex

 

// .NET, 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-x86_64, Island-watchOS Simulator-x86_64, Island-watchOS-arm64, 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 Simulator-i386, Island-watchOS-armv7k, Island-WebAssembly-wasm32, Island-Windows-i386
property startIndex: not nullable Int32 read;

 

// .NET, 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-x86_64, Island-watchOS Simulator-x86_64, Island-watchOS-arm64, Island-Windows-x86_64
Int64! startIndex { get; }
// Island-Android-armeabi, Island-Android-armeabi-v7a, Island-Android-x86, Island-Ubuntu-armv6, Island-watchOS Simulator-i386, Island-watchOS-armv7k, Island-WebAssembly-wasm32, Island-Windows-i386
Int32! startIndex { get; }

 

// .NET, 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-x86_64, Island-watchOS Simulator-x86_64, Island-watchOS-arm64, Island-Windows-x86_64, Toffee-iOS, Toffee-iOS Simulator, Toffee-macOS, Toffee-tvOS, Toffee-tvOS Simulator, Toffee-watchOS
var startIndex: Int64 { get{} }
// Island-Android-armeabi, Island-Android-armeabi-v7a, Island-Android-x86, Island-Ubuntu-armv6, Island-watchOS Simulator-i386, Island-watchOS-armv7k, Island-WebAssembly-wasm32, Island-Windows-i386, Toffee-watchOS Simulator
var startIndex: Int32 { get{} }

 

Int64! startIndex { __get; }

unicodeScalars .NET, Cooper, Toffee

 

property unicodeScalars: not nullable UnicodeScalarView read;

 

UnicodeScalarView! unicodeScalars { get; }

 

var unicodeScalars: UnicodeScalarView { get{} }

 

UnicodeScalarView! unicodeScalars { __get; }

uppercaseString .NET, Cooper, Island

 

property uppercaseString: not nullable NativeString read;

 

NativeString! uppercaseString { get; }

 

var uppercaseString: NativeString { get{} }

 

NativeString! uppercaseString { __get; }

utf16

 

property utf16: not nullable SwiftString.UTF16View read;

 

SwiftString.UTF16View! utf16 { get; }

 

var utf16: SwiftString.UTF16View { get{} }

 

SwiftString.UTF16View! utf16 { __get; }

utf8 .NET, Cooper, Toffee

 

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

 

static func fromCStringRepairingIllFormedUTF8(_ cs: UnsafeMutablePointer<AnsiChar>) -> Tuple2<wrapped nullable NativeString, not nullable nullable Boolean>

Parameters:

  • cs:

 

constructor withDescribing(not nullable Object) .NET

 

constructor withDescribing(subject: not nullable Object)

 

NativeString withDescribing(Object! subject)

 

init(withDescribing subject: Object)

 

NativeString withDescribing(Object! subject)

Parameters:

  • subject:

constructor (not nullable AnyObject)

 

constructor(object: not nullable AnyObject)

 

NativeString(AnyObject! object)

 

init(_ object: AnyObject)

 

NativeString(AnyObject! object)

Parameters:

  • object:

constructor (not nullable Char)

 

constructor(c: not nullable Char)

 

NativeString(Char! c)

 

init(_ c: Char)

 

NativeString(Char! c)

Parameters:

  • c:

constructor withCount(not nullable Int) repeatedValue(not nullable Char) .NET, Cooper, Island

 

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 withDescribing(not nullable Object) Cooper

 

constructor withDescribing(subject: not nullable Object)

 

NativeString withDescribing(Object! subject)

 

init(withDescribing subject: Object)

 

NativeString withDescribing(Object! subject)

Parameters:

  • subject:

constructor withDescribing(not nullable Object) Island

 

constructor withDescribing(subject: not nullable Object)

 

NativeString withDescribing(Object! subject)

 

init(withDescribing subject: Object)

Parameters:

  • subject:

constructor describing(not nullable Object) Toffee

 

init(describing subject: Object)

Parameters:

  • subject:

hasPrefix .NET, 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, 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:

initWithCount Toffee

 

func initWithCount(count: Int, repeatedValue c: Char) -> instancetype

Parameters:

  • count:
  • c:

length .NET, Island

 

method length: not nullable Int

 

Int! length()

 

func length() -> Int

toInt

 

method toInt: nullable Int

 

Int? toInt()

 

func toInt() -> Int?

 

Long? toInt()

withUTF8Buffer<R> .NET, Cooper, Toffee

 

method withUTF8Buffer<R>(body: not nullable Func<not nullable array of not nullable UTF8Char, not nullable R>): not nullable R

 

R! withUTF8Buffer<R>(Func<UTF8Char![]!, R!>! body)

 

func withUTF8Buffer<R>(_ body: (UTF8Char...) -> R) -> R

 

R! withUTF8Buffer<R>(Func2<not nullable array of not nullable UTF8Char, not nullable R>! body)

Parameters:

  • body: