W3cubDocs

/Haxe Java

NativeString

package java

Available on java

Static methods

staticcopyValueOf(data:NativeArray<Char16>):String

staticcopyValueOf(data:NativeArray<Char16>, offset:Int, count:Int):String

staticformat(l:Locale, format:String, args:Rest<Dynamic>):String

staticformat(format:String, args:Rest<Dynamic>):String

staticvalueOf(b:Bool):String

staticvalueOf(obj:Object):String

staticvalueOf(l:Int64):String

staticvalueOf(i:Int):String

staticvalueOf(f:String):String

staticvalueOf(d:Float):String

staticvalueOf(data:NativeArray<Char16>, offset:Int, count:Int):String

staticvalueOf(data:NativeArray<Char16>):String

staticvalueOf(c:Char16):String

Methods

charAt(index:Int):Char16

codePointAt(index:Int):Int

codePointBefore(index:Int):Int

codePointCount(beginIndex:Int, endIndex:Int):Int

compareTo(anotherString:String):Int

compareToIgnoreCase(str:String):Int

concat(str:String):String

contains(s:CharSequence):Bool

contentEquals(cs:CharSequence):Bool

contentEquals(sb:StringBuffer):Bool

endsWith(suffix:String):Bool

equals(anObject:Dynamic):Bool

equalsIgnoreCase(anotherString:String):Bool

getBytes():NativeArray<Int8>

getBytes(charsetName:String):NativeArray<Int8>

getBytes(srcBegin:Int, srcEnd:Int, dst:NativeArray<Int8>, dstBegin:Int):Void

getBytes(charset:Charset):NativeArray<Int8>

getChars(srcBegin:Int, srcEnd:Int, dst:NativeArray<Char16>, dstBegin:Int):Void

hashCode():Int

indexOf(ch:Int):Int

indexOf(str:String, fromIndex:Int):Int

indexOf(str:String):Int

indexOf(ch:Int, fromIndex:Int):Int

intern():String

isEmpty():Bool

lastIndexOf(ch:Int):Int

lastIndexOf(str:String, fromIndex:Int):Int

lastIndexOf(str:String):Int

lastIndexOf(ch:Int, fromIndex:Int):Int

length():Int

matches(regex:String):Bool

offsetByCodePoints(index:Int, codePointOffset:Int):Int

regionMatches(ignoreCase:Bool, toffset:Int, other:String, ooffset:Int, len:Int):Bool

regionMatches(toffset:Int, other:String, ooffset:Int, len:Int):Bool

replace(oldChar:Char16, newChar:Char16):String

replace(target:CharSequence, replacement:CharSequence):String

replaceAll(regex:String, replacement:String):String

replaceFirst(regex:String, replacement:String):String

split(regex:String):NativeArray<String>

split(regex:String, limit:Int):NativeArray<String>

startsWith(prefix:String):Bool

startsWith(prefix:String, toffset:Int):Bool

subSequence(beginIndex:Int, endIndex:Int):CharSequence

substring(beginIndex:Int):String

substring(beginIndex:Int, endIndex:Int):String

toCharArray():NativeArray<Char16>

toLowerCase():String

toLowerCase(locale:Locale):String

toString():String

toUpperCase():String

toUpperCase(locale:Locale):String

trim():String

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/java/NativeString.html