Applet String Methods 
The following table lists utility methods that are used for encoding and string manipulation in SAP Manufacturing Integration and Intelligence:
Name | Use |
String getUserName() | Returns the name of the user that is logged in. |
String xmlEncode(String strIn) | Encodes a string such as <Test>Hello World</Test> to <Test>Hello World</Test> |
String xmlDecode(String strIn) | Decodes a string such as <Test>Hello World</Test> to <Test>Hello World</Test> |
String xmlEncodeName(String strIn) | Encodes a string such as 1Hello W@r!d to _1Hello_W_r!d |
String stringReplace(String sSource, String sFind, String sReplace) | Performs a string search and replace and returns the updated string. |