stringFrom

fun stringFrom(aNativeString: String): A_String

Convert the specified Java String to an Avail A_String.

NB: The descriptor type of the actual instance returned varies with the contents of the Java String. If the Java String contains only Latin-1 characters, then the descriptor will be ByteStringDescriptor; otherwise it will be TwoByteStringDescriptor.

Return

A corresponding Avail StringDescriptor string.

Parameters

aNativeString

A Java String.