appendString

appendString(data: String);

The appendString method of the JadeGenericMessage class adds the text in the data parameter to the end of the message body.

A message can be constructed by calling the appendString method a number of times. You can call the appendString method before or after calling the appendBinary, appendStringAsUtf8, and appendStringUtf8 methods or directly assigning a value to the body property. If you call the appendString method before or after calling the appendBodyTuple method, an exception is raised.