Concatenate the current string with another.
Font fnt = new Font("samples/font/arial.ttf", 12); Text t = new Text(font); t.setData("My new string"); t ~= "is great!"; // t draws now 'My new string is great' on screen.
The example above is the same as if you do:
t += "is great!";
Both operators (~ and +) are allowed.
See Implementation
Concatenate the current string with another.