W3cubDocs

/Haxe C#

String

package cs.system

implements IEnumerable_1<Char16>, ICloneable, IComparable, IConvertible, IComparable_1<String>, IEquatable_1<String>, IEnumerable

@:final@:libType@:csNative@:native("System.String") Available on cs

Constructor

@:final @:overload new (value:Pointer<Char16>)

@:final @:overload new (c:Char16, count:Int)

@:final @:overload new (value:NativeArray<Char16>)

@:final @:overload new (value:NativeArray<Char16>, startIndex:Int, length:Int)

@:final @:overload new (value:Pointer<Int8>, startIndex:Int, length:Int, enc:Encoding)

@:final @:overload new (value:Pointer<Int8>, startIndex:Int, length:Int)

@:final @:overload new (value:Pointer<Int8>)

@:final @:overload new (value:Pointer<Char16>, startIndex:Int, length:Int)

Variables

read only Length:Int

Methods

@:final @:overload Clone ():Dynamic

@:final @:overload CompareTo (value:Dynamic):Int

@:final @:overload CompareTo (strB:String):Int

@:final @:overload Contains (value:String):Bool

@:final @:overload CopyTo (sourceIndex:Int, destination:NativeArray<Char16>, destinationIndex:Int, count:Int):Void

@:final @:overload EndsWith (value:String):Bool

@:final @:overload EndsWith (value:String, comparisonType:StringComparison):Bool

@:final @:overload EndsWith (value:String, ignoreCase:Bool, culture:CultureInfo):Bool

@:noCompletion @:skipReflection @:final @:overload GetEnumerator ():CharEnumerator

@:final @:overload GetTypeCode ():TypeCode

@:final @:overload IndexOf (value:String, comparisonType:StringComparison):Int

@:final @:overload IndexOf (value:String, startIndex:Int, count:Int):Int

@:final @:overload IndexOf (value:String, startIndex:Int):Int

@:final @:overload IndexOf (value:String):Int

@:final @:overload IndexOf (value:Char16, startIndex:Int, count:Int):Int

@:final @:overload IndexOf (value:Char16, startIndex:Int):Int

@:final @:overload IndexOf (value:Char16):Int

@:final @:overload IndexOf (value:String, startIndex:Int, count:Int, comparisonType:StringComparison):Int

@:final @:overload IndexOf (value:String, startIndex:Int, comparisonType:StringComparison):Int

@:final @:overload IndexOfAny (anyOf:NativeArray<Char16>):Int

@:final @:overload IndexOfAny (anyOf:NativeArray<Char16>, startIndex:Int, count:Int):Int

@:final @:overload IndexOfAny (anyOf:NativeArray<Char16>, startIndex:Int):Int

@:final @:overload Insert (startIndex:Int, value:String):String

@:final @:overload IsNormalized ():Bool

@:final @:overload IsNormalized (normalizationForm:NormalizationForm):Bool

@:final @:overload LastIndexOf (value:String, comparisonType:StringComparison):Int

@:final @:overload LastIndexOf (value:String, startIndex:Int, count:Int):Int

@:final @:overload LastIndexOf (value:String, startIndex:Int):Int

@:final @:overload LastIndexOf (value:String):Int

@:final @:overload LastIndexOf (value:Char16, startIndex:Int, count:Int):Int

@:final @:overload LastIndexOf (value:Char16, startIndex:Int):Int

@:final @:overload LastIndexOf (value:Char16):Int

@:final @:overload LastIndexOf (value:String, startIndex:Int, count:Int, comparisonType:StringComparison):Int

@:final @:overload LastIndexOf (value:String, startIndex:Int, comparisonType:StringComparison):Int

@:final @:overload LastIndexOfAny (anyOf:NativeArray<Char16>):Int

@:final @:overload LastIndexOfAny (anyOf:NativeArray<Char16>, startIndex:Int, count:Int):Int

@:final @:overload LastIndexOfAny (anyOf:NativeArray<Char16>, startIndex:Int):Int

@:final @:overload Normalize ():String

@:final @:overload Normalize (normalizationForm:NormalizationForm):String

@:final @:overload PadLeft (totalWidth:Int):String

@:final @:overload PadLeft (totalWidth:Int, paddingChar:Char16):String

@:final @:overload PadRight (totalWidth:Int):String

@:final @:overload PadRight (totalWidth:Int, paddingChar:Char16):String

@:final @:overload Remove (startIndex:Int):String

@:final @:overload Remove (startIndex:Int, count:Int):String

@:final @:overload Replace (oldChar:Char16, newChar:Char16):String

@:final @:overload Replace (oldValue:String, newValue:String):String

@:final @:overload Split (separator:NativeArray<Char16>):NativeArray<String>

@:final @:overload Split (separator:NativeArray<String>, options:StringSplitOptions):NativeArray<String>

@:final @:overload Split (separator:NativeArray<Char16>, options:StringSplitOptions):NativeArray<String>

@:final @:overload Split (separator:NativeArray<String>, count:Int, options:StringSplitOptions):NativeArray<String>

@:final @:overload Split (separator:NativeArray<Char16>, count:Int, options:StringSplitOptions):NativeArray<String>

@:final @:overload Split (separator:NativeArray<Char16>, count:Int):NativeArray<String>

@:final @:overload StartsWith (value:String):Bool

@:final @:overload StartsWith (value:String, ignoreCase:Bool, culture:CultureInfo):Bool

@:final @:overload StartsWith (value:String, comparisonType:StringComparison):Bool

@:final @:overload Substring (startIndex:Int):String

@:final @:overload Substring (startIndex:Int, length:Int):String

@:final @:overload ToCharArray ():NativeArray<Char16>

@:final @:overload ToCharArray (startIndex:Int, length:Int):NativeArray<Char16>

@:final @:overload ToLower ():String

@:final @:overload ToLower (culture:CultureInfo):String

@:final @:overload ToLowerInvariant ():String

@:overload ToString ():String

@:final @:overload ToString (provider:IFormatProvider):String

@:final @:overload ToUpper ():String

@:final @:overload ToUpper (culture:CultureInfo):String

@:final @:overload ToUpperInvariant ():String

@:final @:overload Trim ():String

@:final @:overload Trim (trimChars:NativeArray<Char16>):String

@:final @:overload TrimEnd (trimChars:NativeArray<Char16>):String

@:final @:overload TrimStart (trimChars:NativeArray<Char16>):String

Static variables

@:readOnly static read only Empty:String

Static methods

@:final @:overload static Compare (strA:String, strB:String):Int

@:final @:overload static Compare (strA:String, indexA:Int, strB:String, indexB:Int, length:Int, culture:CultureInfo, options:CompareOptions):Int

@:final @:overload static Compare (strA:String, strB:String, culture:CultureInfo, options:CompareOptions):Int

@:final @:overload static Compare (strA:String, indexA:Int, strB:String, indexB:Int, length:Int, comparisonType:StringComparison):Int

@:final @:overload static Compare (strA:String, strB:String, comparisonType:StringComparison):Int

@:final @:overload static Compare (strA:String, indexA:Int, strB:String, indexB:Int, length:Int, ignoreCase:Bool, culture:CultureInfo):Int

@:final @:overload static Compare (strA:String, indexA:Int, strB:String, indexB:Int, length:Int, ignoreCase:Bool):Int

@:final @:overload static Compare (strA:String, indexA:Int, strB:String, indexB:Int, length:Int):Int

@:final @:overload static Compare (strA:String, strB:String, ignoreCase:Bool, culture:CultureInfo):Int

@:final @:overload static Compare (strA:String, strB:String, ignoreCase:Bool):Int

@:final @:overload static CompareOrdinal (strA:String, strB:String):Int

@:final @:overload static CompareOrdinal (strA:String, indexA:Int, strB:String, indexB:Int, length:Int):Int

@:final @:overload static Concat (arg0:Dynamic):String

@:final @:overload static Concat (values:NativeArray<String>):String

@:final @:overload static Concat (args:NativeArray<Dynamic>):String

@:final @:overload static Concat (str0:String, str1:String, str2:String, str3:String):String

@:final @:overload static Concat (str0:String, str1:String, str2:String):String

@:final @:overload static Concat (str0:String, str1:String):String

@:final @:overload static Concat (arg0:Dynamic, arg1:Dynamic, arg2:Dynamic, arg3:Dynamic):String

@:final @:overload static Concat (arg0:Dynamic, arg1:Dynamic, arg2:Dynamic):String

@:final @:overload static Concat (arg0:Dynamic, arg1:Dynamic):String

@:final @:overload static Copy (str:String):String

@:final @:overload static Format (format:String, arg0:Dynamic):String

@:final @:overload static Format (provider:IFormatProvider, format:String, args:NativeArray<Dynamic>):String

@:final @:overload static Format (format:String, args:NativeArray<Dynamic>):String

@:final @:overload static Format (format:String, arg0:Dynamic, arg1:Dynamic, arg2:Dynamic):String

@:final @:overload static Format (format:String, arg0:Dynamic, arg1:Dynamic):String

@:final @:overload static Intern (str:String):String

@:final @:overload static IsInterned (str:String):String

@:final @:overload static IsNullOrEmpty (value:String):Bool

@:final @:overload static Join (separator:String, value:NativeArray<String>):String

@:final @:overload static Join (separator:String, value:NativeArray<String>, startIndex:Int, count:Int):String

@:native("Equals") @:final @:overload static _Equals (a:String, b:String):Bool

@:native("Equals") @:final @:overload static Equals (a:String, b:String, comparisonType:StringComparison):Bool

@:final @:overload static op_Equality (a:String, b:String):Bool

@:final @:overload static op_Inequality (a:String, b:String):Bool

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/cs/system/String.html