W3cubDocs

/Haxe Python

StringImpl

package python.internal

@:native("HxString") Available on python

Static methods

@:ifFeature("dynamic_read.charAt","anon_optional_read.charAt","python.internal.StringImpl.charAt") static inline charAt (s:String, index:Int):String

@:ifFeature("dynamic_read.charCodeAt","anon_optional_read.charCodeAt","python.internal.StringImpl.charCodeAt") static charCodeAt (s:String, index:Int):Null<Int>

@:ifFeature("dynamic_read.fromCharCode","anon_optional_read.fromCharCode","python.internal.StringImpl.fromCharCode") static inline fromCharCode (code:Int):String

@:ifFeature("dynamic_read.length","anon_optional_read.length","python.internal.StringImpl.length") static inline get_length (s:String):Int

@:ifFeature("dynamic_read.indexOf","anon_optional_read.indexOf","python.internal.StringImpl.indexOf") static inline indexOf (s:String, str:String, ?startIndex:Int):Int

@:ifFeature("dynamic_read.lastIndexOf","anon_optional_read.lastIndexOf","python.internal.StringImpl.lastIndexOf") static inline lastIndexOf (s:String, str:String, ?startIndex:Int):Int

@:ifFeature("dynamic_read.split","anon_optional_read.split","python.internal.StringImpl.split") static inline split (s:String, d:String):Array<String>

@:ifFeature("dynamic_read.substr","anon_optional_read.substr","python.internal.StringImpl.substr") static substr (s:String, startIndex:Int, ?len:Int):String

@:ifFeature("dynamic_read.substring","anon_optional_read.substring","python.internal.StringImpl.substring") static substring (s:String, startIndex:Int, ?endIndex:Int):String

@:ifFeature("dynamic_read.toLowerCase","anon_optional_read.toLowerCase","python.internal.StringImpl.toLowerCase") static inline toLowerCase (s:String):Unknown

@:ifFeature("dynamic_read.toString","anon_optional_read.toString","python.internal.StringImpl.toString") static inline toString (s:String):String

@:ifFeature("dynamic_read.toUpperCase","anon_optional_read.toUpperCase","python.internal.StringImpl.toUpperCase") static inline toUpperCase (s:String):Unknown

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/python/internal/StringImpl.html