Static variables

staticread onlylength:Int

String length

Static methods

@:noExprstaticchar(this:NativeString, index:Int):String

Returns a character at the specified index.

Throws an exception if index is outside of the string bounds.

@:noExprstaticcode(this:NativeString, index:Int):Int

Returns a character code at the specified index.

Throws an exception if index is outside of the string bounds.

@:noExpr@:op(A + B)staticconcat(this:NativeString, s:NativeString):NativeString

@:noExpr@:fromstaticfromBytes(b:Bytes):NativeString

@:noExpr@:fromstaticfromString(s:String):NativeString

@:noExprstaticsub(this:NativeString, start:Int, ?length:Int):NativeString

Returns a fresh string up to length characters long, containing the substring that starts at position start.

If length is not specified the all characters from start to the end of this string are returned.

Throws an exception if index is outside of the string bounds.

@:noExprstatictoBytes(this:NativeString):Bytes

@:noExprstatictoString(this:NativeString):String