Sidebar

How do I define a java string vs a javascript string

+1 vote
467 views
asked Nov 9, 2016 by brandon-w-8204 (33,820 points)

1 Answer

+1 vote

Javascript string:

var javascriptString = 'This is plain text';

Java string:

var javaString= new java.lang.String('This is plain text');

answered Nov 9, 2016 by brandon-w-8204 (33,820 points)
...