= #JxnPortable\docs\programmer_examples\UsingJavaAPI_1_String.jxn

abc = "abc"
 = abc (java.lang.String)
xyz = "xyz"
 = xyz (java.lang.String)
s = abc + "..." + xyz
 = abc...xyz (java.lang.String)
s.substring( 2, s.length() - 2 )
 = c...x (java.lang.String)
s.toUpperCase().replace( ".", "-" )
 = ABC---XYZ (java.lang.String)
!
! unicode characters (4 hex digits):
s = "\u03b1\u03b2\u03b3\u03b4123"
 = αβγδ123 (java.lang.String)
hexString s
 = 03b1 03b2 03b3 03b4 0031 0032 0033 (java.lang.String)
!
! unicode characters (decimal digits followed by ';' or any non digit character):
s = "\#945\#946\#947\#948;123"
 = αβγδ123 (java.lang.String)
hexString s
 = 03b1 03b2 03b3 03b4 0031 0032 0033 (java.lang.String)
s.indexOf "1"
 = 4 (int)