NativeString Extension

Location

  • Reference:
    • Silver.dll  .NET, .NET Standard 2.0
    • silver.jar  Cooper
    • Silver.fx  Island
    • libSilver.fx  Toffee
  • Namespace: Swift
  • Extends: NativeString

 

constructor withRepeating(not nullable Char) count(not nullable Int)

 

constructor withRepeating(c: not nullable Char) count(count: not nullable Int)

 

NativeString withRepeating(Char! c) count(Int! count)

 

init(withRepeating c: Char, count: Int)

 

NativeString withRepeating(Char c) count(Int count)

 

Sub New withRepeating(c As Char) count(count As Int)

Parameters:

  • c:
  • count:

constructor (not nullable Char)

 

constructor(c: not nullable Char)

 

NativeString(Char! c)

 

init(_ c: Char)

 

NativeString(Char c)

 

Sub New(c As Char)

Parameters:

  • c:

constructor (not nullable Object)

 

constructor(object: not nullable Object)

 

NativeString(Object! object)

 

init(_ object: Object)

 

NativeString(Object object)

 

Sub New(object As Object)

Parameters:

  • object:

constructor withDescribing(not nullable Object)

 

constructor withDescribing(subject: not nullable Object)

 

NativeString withDescribing(Object! subject)

 

init(withDescribing subject: Object)

 

NativeString withDescribing(Object subject)

 

Sub New withDescribing(subject As Object)

Parameters:

  • subject:

constructor withReflecting(not nullable Object)

 

constructor withReflecting(subject: not nullable Object)

 

NativeString withReflecting(Object! subject)

 

init(withReflecting subject: Object)

 

NativeString withReflecting(Object subject)

 

Sub New withReflecting(subject As Object)

Parameters:

  • subject:

characters

 

property characters: not nullable CharacterView read;

 

CharacterView! characters { get; }

 

var characters: CharacterView { get{} }

 

CharacterView characters { __get; }

 

ReadOnly Property characters() As CharacterView

components

 

method components separatedBy(separator: not nullable String): not nullable Array<not nullable String>

 

Array<not nullable String>! components separatedBy(String! separator)

 

func components(separatedBy separator: String) -> Array<not nullable String>

 

Array<String> components separatedBy(String separator)

 

Function components separatedBy(separator As String) As Array<not nullable String>

Parameters:

  • separator:

debugDescription .NET, .NET Standard 2.0, Cooper, Island

 

property debugDescription: not nullable NativeString read;

 

NativeString! debugDescription { get; }

 

var debugDescription: NativeString { get{} }

 

NativeString debugDescription { __get; }

 

ReadOnly Property debugDescription() As NativeString

endIndex

 

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

 

Int64 endIndex { __get; }

 

// .NET, .NET Standard 2.0, Island-Android-arm64-v8a, Island-Android-x86_64, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu-aarch64, Island-Ubuntu-x86_64, Island-watchOS Simulator, Island-Windows-arm64, Island-Windows-x86_64
ReadOnly Property endIndex() As Int64
// Island-Android-armeabi, Island-Android-armeabi-v7a, Island-Android-x86, Island-Ubuntu-armv6, Island-watchOS, Island-WebAssembly-wasm32, Island-Windows-i386
ReadOnly Property endIndex() As Int32

fromCString Toffee

 

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

Parameters:

  • cs:

fromCStringRepairingIllFormedUTF8 Toffee

 

static func fromCStringRepairingIllFormedUTF8(_ cs: UnsafeMutablePointer<AnsiChar>) -> (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; }

 

ReadOnly Property hashValue() As Int

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)

 

Function hasPrefix(prefix As NativeString) As Bool

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)

 

Function hasSuffix(suffix As NativeString) As Bool

Parameters:

  • suffix:

isEmpty

 

property isEmpty: not nullable Bool read;

 

Bool! isEmpty { get; }

 

var isEmpty: Bool { get{} }

 

Bool isEmpty { __get; }

 

ReadOnly Property isEmpty() As Bool

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; }

 

ReadOnly Property Item(range As Range) As NativeString

length .NET, .NET Standard 2.0, Island

 

method length: not nullable Int

 

Int! length()

 

func length() -> Int

 

Function length() As Int

lowercased .NET, .NET Standard 2.0, Cooper, Island

 

method lowercased: not nullable NativeString

 

NativeString! lowercased()

 

func lowercased() -> NativeString

 

NativeString lowercased()

 

Function lowercased() As NativeString

lowercased lowercased(): not nullable NativeString Toffee

 

func lowercased(lowercased ) -> NativeString

Parameters:

  • :

prefix through(not nullable Int64): not nullable NativeString

 

// .NET, .NET Standard 2.0, Island-Android-arm64-v8a, Island-Android-x86_64, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu-aarch64, Island-Ubuntu-x86_64, Island-watchOS Simulator, Island-Windows-arm64, Island-Windows-x86_64
method prefix through(through: not nullable Int64): not nullable NativeString
// Island-Android-armeabi, Island-Android-armeabi-v7a, Island-Android-x86, Island-Ubuntu-armv6, Island-watchOS, Island-WebAssembly-wasm32, Island-Windows-i386
method prefix through(through: not nullable Int32): not nullable NativeString

 

// .NET, .NET Standard 2.0, Island-Android-arm64-v8a, Island-Android-x86_64, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu-aarch64, Island-Ubuntu-x86_64, Island-watchOS Simulator, Island-Windows-arm64, Island-Windows-x86_64
NativeString! prefix through(Int64! through)
// Island-Android-armeabi, Island-Android-armeabi-v7a, Island-Android-x86, Island-Ubuntu-armv6, Island-watchOS, Island-WebAssembly-wasm32, Island-Windows-i386
NativeString! prefix through(Int32! through)

 

// Toffee-iOS, Toffee-iOS Simulator, Toffee-Mac Catalyst, Toffee-macOS, Toffee-tvOS, Toffee-tvOS Simulator, Toffee-watchOS Simulator
func prefix(through: Int64) -> NativeString
// Toffee-watchOS
func prefix(through: Int32) -> NativeString

 

NativeString prefix through(Int64 through)

 

// .NET, .NET Standard 2.0, Island-Android-arm64-v8a, Island-Android-x86_64, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu-aarch64, Island-Ubuntu-x86_64, Island-watchOS Simulator, Island-Windows-arm64, Island-Windows-x86_64
Function prefix through(through As Int64) As NativeString
// Island-Android-armeabi, Island-Android-armeabi-v7a, Island-Android-x86, Island-Ubuntu-armv6, Island-watchOS, Island-WebAssembly-wasm32, Island-Windows-i386
Function prefix through(through As Int32) As NativeString

Parameters:

  • through:

prefix upTo(not nullable Int64): not nullable NativeString

 

// .NET, .NET Standard 2.0, Island-Android-arm64-v8a, Island-Android-x86_64, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu-aarch64, Island-Ubuntu-x86_64, Island-watchOS Simulator, Island-Windows-arm64, Island-Windows-x86_64
method prefix upTo(upTo: not nullable Int64): not nullable NativeString
// Island-Android-armeabi, Island-Android-armeabi-v7a, Island-Android-x86, Island-Ubuntu-armv6, Island-watchOS, Island-WebAssembly-wasm32, Island-Windows-i386
method prefix upTo(upTo: not nullable Int32): not nullable NativeString

 

// .NET, .NET Standard 2.0, Island-Android-arm64-v8a, Island-Android-x86_64, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu-aarch64, Island-Ubuntu-x86_64, Island-watchOS Simulator, Island-Windows-arm64, Island-Windows-x86_64
NativeString! prefix upTo(Int64! upTo)
// Island-Android-armeabi, Island-Android-armeabi-v7a, Island-Android-x86, Island-Ubuntu-armv6, Island-watchOS, Island-WebAssembly-wasm32, Island-Windows-i386
NativeString! prefix upTo(Int32! upTo)

 

// Toffee-iOS, Toffee-iOS Simulator, Toffee-Mac Catalyst, Toffee-macOS, Toffee-tvOS, Toffee-tvOS Simulator, Toffee-watchOS Simulator
func prefix(upTo: Int64) -> NativeString
// Toffee-watchOS
func prefix(upTo: Int32) -> NativeString

 

NativeString prefix upTo(Int64 upTo)

 

// .NET, .NET Standard 2.0, Island-Android-arm64-v8a, Island-Android-x86_64, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu-aarch64, Island-Ubuntu-x86_64, Island-watchOS Simulator, Island-Windows-arm64, Island-Windows-x86_64
Function prefix upTo(upTo As Int64) As NativeString
// Island-Android-armeabi, Island-Android-armeabi-v7a, Island-Android-x86, Island-Ubuntu-armv6, Island-watchOS, Island-WebAssembly-wasm32, Island-Windows-i386
Function prefix upTo(upTo As Int32) As NativeString

Parameters:

  • upTo:

startIndex

 

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

 

Int64 startIndex { __get; }

 

// .NET, .NET Standard 2.0, Island-Android-arm64-v8a, Island-Android-x86_64, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu-aarch64, Island-Ubuntu-x86_64, Island-watchOS Simulator, Island-Windows-arm64, Island-Windows-x86_64
ReadOnly Property startIndex() As Int64
// Island-Android-armeabi, Island-Android-armeabi-v7a, Island-Android-x86, Island-Ubuntu-armv6, Island-watchOS, Island-WebAssembly-wasm32, Island-Windows-i386
ReadOnly Property startIndex() As Int32

suffix

 

// .NET, .NET Standard 2.0, Island-Android-arm64-v8a, Island-Android-x86_64, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu-aarch64, Island-Ubuntu-x86_64, Island-watchOS Simulator, Island-Windows-arm64, Island-Windows-x86_64
method suffix from(from: not nullable Int64): not nullable NativeString
// Island-Android-armeabi, Island-Android-armeabi-v7a, Island-Android-x86, Island-Ubuntu-armv6, Island-watchOS, Island-WebAssembly-wasm32, Island-Windows-i386
method suffix from(from: not nullable Int32): not nullable NativeString

 

// .NET, .NET Standard 2.0, Island-Android-arm64-v8a, Island-Android-x86_64, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu-aarch64, Island-Ubuntu-x86_64, Island-watchOS Simulator, Island-Windows-arm64, Island-Windows-x86_64
NativeString! suffix from(Int64! from)
// Island-Android-armeabi, Island-Android-armeabi-v7a, Island-Android-x86, Island-Ubuntu-armv6, Island-watchOS, Island-WebAssembly-wasm32, Island-Windows-i386
NativeString! suffix from(Int32! from)

 

// Toffee-iOS, Toffee-iOS Simulator, Toffee-Mac Catalyst, Toffee-macOS, Toffee-tvOS, Toffee-tvOS Simulator, Toffee-watchOS Simulator
func suffix(from: Int64) -> NativeString
// Toffee-watchOS
func suffix(from: Int32) -> NativeString

 

NativeString suffix from(Int64 from)

 

// .NET, .NET Standard 2.0, Island-Android-arm64-v8a, Island-Android-x86_64, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu-aarch64, Island-Ubuntu-x86_64, Island-watchOS Simulator, Island-Windows-arm64, Island-Windows-x86_64
Function suffix from(from As Int64) As NativeString
// Island-Android-armeabi, Island-Android-armeabi-v7a, Island-Android-x86, Island-Ubuntu-armv6, Island-watchOS, Island-WebAssembly-wasm32, Island-Windows-i386
Function suffix from(from As Int32) As NativeString

Parameters:

  • from:

toInt .NET, .NET Standard 2.0, Cooper, Island

 

method toInt: nullable Int

 

Int? toInt()

 

func toInt() -> Int?

 

Long toInt()

 

Function toInt() As Int?

toInt toInt(): nullable Int Toffee

 

func toInt(toInt ) -> Int?

Parameters:

  • :

unicodeScalars

 

property unicodeScalars: not nullable UnicodeScalarView read;

 

UnicodeScalarView! unicodeScalars { get; }

 

var unicodeScalars: UnicodeScalarView { get{} }

 

UnicodeScalarView unicodeScalars { __get; }

 

ReadOnly Property unicodeScalars() As UnicodeScalarView

uppercased .NET, .NET Standard 2.0, Cooper, Island

 

method uppercased: not nullable NativeString

 

NativeString! uppercased()

 

func uppercased() -> NativeString

 

NativeString uppercased()

 

Function uppercased() As NativeString

uppercased uppercased(): not nullable NativeString Toffee

 

func uppercased(uppercased ) -> NativeString

Parameters:

  • :

utf16

 

property utf16: not nullable UTF16View read;

 

UTF16View! utf16 { get; }

 

var utf16: UTF16View { get{} }

 

UTF16View utf16 { __get; }

 

ReadOnly Property utf16() As UTF16View

utf8

 

property utf8: not nullable UTF8View read;

 

UTF8View! utf8 { get; }

 

var utf8: UTF8View { get{} }

 

UTF8View utf8 { __get; }

 

ReadOnly Property utf8() As UTF8View

withUTF8Buffer<R> .NET, .NET Standard 2.0, 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<not nullable array of not nullable UTF8Char, not nullable R>! body)

 

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

 

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

 

Function withUTF8Buffer<R>(body As Func (Of UTF8Char(), R)) As R

Parameters:

  • body:

 

characters

 

property characters: not nullable CharacterView read;

 

CharacterView! characters { get; }

 

var characters: CharacterView { get{} }

 

CharacterView characters { __get; }

 

ReadOnly Property characters() As CharacterView

debugDescription .NET, .NET Standard 2.0, Cooper, Island

 

property debugDescription: not nullable NativeString read;

 

NativeString! debugDescription { get; }

 

var debugDescription: NativeString { get{} }

 

NativeString debugDescription { __get; }

 

ReadOnly Property debugDescription() As NativeString

endIndex

 

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

 

Int64 endIndex { __get; }

 

// .NET, .NET Standard 2.0, Island-Android-arm64-v8a, Island-Android-x86_64, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu-aarch64, Island-Ubuntu-x86_64, Island-watchOS Simulator, Island-Windows-arm64, Island-Windows-x86_64
ReadOnly Property endIndex() As Int64
// Island-Android-armeabi, Island-Android-armeabi-v7a, Island-Android-x86, Island-Ubuntu-armv6, Island-watchOS, Island-WebAssembly-wasm32, Island-Windows-i386
ReadOnly Property endIndex() As Int32

hashValue

 

property hashValue: not nullable Int read;

 

Int! hashValue { get; }

 

var hashValue: Int { get{} }

 

Int hashValue { __get; }

 

ReadOnly Property hashValue() As Int

isEmpty

 

property isEmpty: not nullable Bool read;

 

Bool! isEmpty { get; }

 

var isEmpty: Bool { get{} }

 

Bool isEmpty { __get; }

 

ReadOnly Property isEmpty() As Bool

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; }

 

ReadOnly Property Item(range As Range) As NativeString

startIndex

 

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

 

Int64 startIndex { __get; }

 

// .NET, .NET Standard 2.0, Island-Android-arm64-v8a, Island-Android-x86_64, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu-aarch64, Island-Ubuntu-x86_64, Island-watchOS Simulator, Island-Windows-arm64, Island-Windows-x86_64
ReadOnly Property startIndex() As Int64
// Island-Android-armeabi, Island-Android-armeabi-v7a, Island-Android-x86, Island-Ubuntu-armv6, Island-watchOS, Island-WebAssembly-wasm32, Island-Windows-i386
ReadOnly Property startIndex() As Int32

unicodeScalars

 

property unicodeScalars: not nullable UnicodeScalarView read;

 

UnicodeScalarView! unicodeScalars { get; }

 

var unicodeScalars: UnicodeScalarView { get{} }

 

UnicodeScalarView unicodeScalars { __get; }

 

ReadOnly Property unicodeScalars() As UnicodeScalarView

utf16

 

property utf16: not nullable UTF16View read;

 

UTF16View! utf16 { get; }

 

var utf16: UTF16View { get{} }

 

UTF16View utf16 { __get; }

 

ReadOnly Property utf16() As UTF16View

utf8

 

property utf8: not nullable UTF8View read;

 

UTF8View! utf8 { get; }

 

var utf8: UTF8View { get{} }

 

UTF8View utf8 { __get; }

 

ReadOnly Property utf8() As UTF8View

 

fromCString Toffee

 

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

Parameters:

  • cs:

fromCStringRepairingIllFormedUTF8 Toffee

 

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

Parameters:

  • cs:

 

constructor withRepeating(not nullable Char) count(not nullable Int)

 

constructor withRepeating(c: not nullable Char) count(count: not nullable Int)

 

NativeString withRepeating(Char! c) count(Int! count)

 

init(withRepeating c: Char, count: Int)

 

NativeString withRepeating(Char c) count(Int count)

 

Sub New withRepeating(c As Char) count(count As Int)

Parameters:

  • c:
  • count:

constructor (not nullable Char)

 

constructor(c: not nullable Char)

 

NativeString(Char! c)

 

init(_ c: Char)

 

NativeString(Char c)

 

Sub New(c As Char)

Parameters:

  • c:

constructor (not nullable Object)

 

constructor(object: not nullable Object)

 

NativeString(Object! object)

 

init(_ object: Object)

 

NativeString(Object object)

 

Sub New(object As Object)

Parameters:

  • object:

constructor withDescribing(not nullable Object)

 

constructor withDescribing(subject: not nullable Object)

 

NativeString withDescribing(Object! subject)

 

init(withDescribing subject: Object)

 

NativeString withDescribing(Object subject)

 

Sub New withDescribing(subject As Object)

Parameters:

  • subject:

constructor withReflecting(not nullable Object)

 

constructor withReflecting(subject: not nullable Object)

 

NativeString withReflecting(Object! subject)

 

init(withReflecting subject: Object)

 

NativeString withReflecting(Object subject)

 

Sub New withReflecting(subject As Object)

Parameters:

  • subject:

components

 

method components separatedBy(separator: not nullable String): not nullable Array<not nullable String>

 

Array<not nullable String>! components separatedBy(String! separator)

 

func components(separatedBy separator: String) -> Array<not nullable String>

 

Array<String> components separatedBy(String separator)

 

Function components separatedBy(separator As String) As Array<not nullable String>

Parameters:

  • separator:

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)

 

Function hasPrefix(prefix As NativeString) As Bool

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)

 

Function hasSuffix(suffix As NativeString) As Bool

Parameters:

  • suffix:

length .NET, .NET Standard 2.0, Island

 

method length: not nullable Int

 

Int! length()

 

func length() -> Int

 

Function length() As Int

lowercased .NET, .NET Standard 2.0, Cooper, Island

 

method lowercased: not nullable NativeString

 

NativeString! lowercased()

 

func lowercased() -> NativeString

 

NativeString lowercased()

 

Function lowercased() As NativeString

lowercased lowercased(): not nullable NativeString Toffee

 

func lowercased(lowercased ) -> NativeString

Parameters:

  • :

prefix through(not nullable Int64): not nullable NativeString

 

// .NET, .NET Standard 2.0, Island-Android-arm64-v8a, Island-Android-x86_64, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu-aarch64, Island-Ubuntu-x86_64, Island-watchOS Simulator, Island-Windows-arm64, Island-Windows-x86_64
method prefix through(through: not nullable Int64): not nullable NativeString
// Island-Android-armeabi, Island-Android-armeabi-v7a, Island-Android-x86, Island-Ubuntu-armv6, Island-watchOS, Island-WebAssembly-wasm32, Island-Windows-i386
method prefix through(through: not nullable Int32): not nullable NativeString

 

// .NET, .NET Standard 2.0, Island-Android-arm64-v8a, Island-Android-x86_64, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu-aarch64, Island-Ubuntu-x86_64, Island-watchOS Simulator, Island-Windows-arm64, Island-Windows-x86_64
NativeString! prefix through(Int64! through)
// Island-Android-armeabi, Island-Android-armeabi-v7a, Island-Android-x86, Island-Ubuntu-armv6, Island-watchOS, Island-WebAssembly-wasm32, Island-Windows-i386
NativeString! prefix through(Int32! through)

 

// Toffee-iOS, Toffee-iOS Simulator, Toffee-Mac Catalyst, Toffee-macOS, Toffee-tvOS, Toffee-tvOS Simulator, Toffee-watchOS Simulator
func prefix(through: Int64) -> NativeString
// Toffee-watchOS
func prefix(through: Int32) -> NativeString

 

NativeString prefix through(Int64 through)

 

// .NET, .NET Standard 2.0, Island-Android-arm64-v8a, Island-Android-x86_64, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu-aarch64, Island-Ubuntu-x86_64, Island-watchOS Simulator, Island-Windows-arm64, Island-Windows-x86_64
Function prefix through(through As Int64) As NativeString
// Island-Android-armeabi, Island-Android-armeabi-v7a, Island-Android-x86, Island-Ubuntu-armv6, Island-watchOS, Island-WebAssembly-wasm32, Island-Windows-i386
Function prefix through(through As Int32) As NativeString

Parameters:

  • through:

prefix upTo(not nullable Int64): not nullable NativeString

 

// .NET, .NET Standard 2.0, Island-Android-arm64-v8a, Island-Android-x86_64, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu-aarch64, Island-Ubuntu-x86_64, Island-watchOS Simulator, Island-Windows-arm64, Island-Windows-x86_64
method prefix upTo(upTo: not nullable Int64): not nullable NativeString
// Island-Android-armeabi, Island-Android-armeabi-v7a, Island-Android-x86, Island-Ubuntu-armv6, Island-watchOS, Island-WebAssembly-wasm32, Island-Windows-i386
method prefix upTo(upTo: not nullable Int32): not nullable NativeString

 

// .NET, .NET Standard 2.0, Island-Android-arm64-v8a, Island-Android-x86_64, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu-aarch64, Island-Ubuntu-x86_64, Island-watchOS Simulator, Island-Windows-arm64, Island-Windows-x86_64
NativeString! prefix upTo(Int64! upTo)
// Island-Android-armeabi, Island-Android-armeabi-v7a, Island-Android-x86, Island-Ubuntu-armv6, Island-watchOS, Island-WebAssembly-wasm32, Island-Windows-i386
NativeString! prefix upTo(Int32! upTo)

 

// Toffee-iOS, Toffee-iOS Simulator, Toffee-Mac Catalyst, Toffee-macOS, Toffee-tvOS, Toffee-tvOS Simulator, Toffee-watchOS Simulator
func prefix(upTo: Int64) -> NativeString
// Toffee-watchOS
func prefix(upTo: Int32) -> NativeString

 

NativeString prefix upTo(Int64 upTo)

 

// .NET, .NET Standard 2.0, Island-Android-arm64-v8a, Island-Android-x86_64, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu-aarch64, Island-Ubuntu-x86_64, Island-watchOS Simulator, Island-Windows-arm64, Island-Windows-x86_64
Function prefix upTo(upTo As Int64) As NativeString
// Island-Android-armeabi, Island-Android-armeabi-v7a, Island-Android-x86, Island-Ubuntu-armv6, Island-watchOS, Island-WebAssembly-wasm32, Island-Windows-i386
Function prefix upTo(upTo As Int32) As NativeString

Parameters:

  • upTo:

suffix

 

// .NET, .NET Standard 2.0, Island-Android-arm64-v8a, Island-Android-x86_64, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu-aarch64, Island-Ubuntu-x86_64, Island-watchOS Simulator, Island-Windows-arm64, Island-Windows-x86_64
method suffix from(from: not nullable Int64): not nullable NativeString
// Island-Android-armeabi, Island-Android-armeabi-v7a, Island-Android-x86, Island-Ubuntu-armv6, Island-watchOS, Island-WebAssembly-wasm32, Island-Windows-i386
method suffix from(from: not nullable Int32): not nullable NativeString

 

// .NET, .NET Standard 2.0, Island-Android-arm64-v8a, Island-Android-x86_64, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu-aarch64, Island-Ubuntu-x86_64, Island-watchOS Simulator, Island-Windows-arm64, Island-Windows-x86_64
NativeString! suffix from(Int64! from)
// Island-Android-armeabi, Island-Android-armeabi-v7a, Island-Android-x86, Island-Ubuntu-armv6, Island-watchOS, Island-WebAssembly-wasm32, Island-Windows-i386
NativeString! suffix from(Int32! from)

 

// Toffee-iOS, Toffee-iOS Simulator, Toffee-Mac Catalyst, Toffee-macOS, Toffee-tvOS, Toffee-tvOS Simulator, Toffee-watchOS Simulator
func suffix(from: Int64) -> NativeString
// Toffee-watchOS
func suffix(from: Int32) -> NativeString

 

NativeString suffix from(Int64 from)

 

// .NET, .NET Standard 2.0, Island-Android-arm64-v8a, Island-Android-x86_64, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu-aarch64, Island-Ubuntu-x86_64, Island-watchOS Simulator, Island-Windows-arm64, Island-Windows-x86_64
Function suffix from(from As Int64) As NativeString
// Island-Android-armeabi, Island-Android-armeabi-v7a, Island-Android-x86, Island-Ubuntu-armv6, Island-watchOS, Island-WebAssembly-wasm32, Island-Windows-i386
Function suffix from(from As Int32) As NativeString

Parameters:

  • from:

toInt .NET, .NET Standard 2.0, Cooper, Island

 

method toInt: nullable Int

 

Int? toInt()

 

func toInt() -> Int?

 

Long toInt()

 

Function toInt() As Int?

toInt toInt(): nullable Int Toffee

 

func toInt(toInt ) -> Int?

Parameters:

  • :

uppercased .NET, .NET Standard 2.0, Cooper, Island

 

method uppercased: not nullable NativeString

 

NativeString! uppercased()

 

func uppercased() -> NativeString

 

NativeString uppercased()

 

Function uppercased() As NativeString

uppercased uppercased(): not nullable NativeString Toffee

 

func uppercased(uppercased ) -> NativeString

Parameters:

  • :

withUTF8Buffer<R> .NET, .NET Standard 2.0, 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<not nullable array of not nullable UTF8Char, not nullable R>! body)

 

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

 

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

 

Function withUTF8Buffer<R>(body As Func (Of UTF8Char(), R)) As R

Parameters:

  • body: