Posts

Showing posts with the label string methods in Jython

String sequence in Jython wsadmin

 String sequence in Jython Strings are set of characters enclosed with single quotes or double or triple quotes. String objects are similar to tuple sequence objects. String objects are immutable. You cannot change the current string content. We need to use the new string object for modify the contents. Strings can be two variants: raw string normal string All the help method out comes are raw strings they are parsed when it is given to print command. wsadmin>rawstr=AdminTask.help() wsadmin>rawstr 'WASX8001I: The AdminTask object enables the execution of available admin\n\tcommands. AdminTask commands operate in two modes:\n\tthe default mode is one which AdminTask communicates with the WebSphere\n\tserver to accomplish its task. A local mode is also available, in which\n\tno server communication takes place. The local mode of operation is\n\tinvoked by bringing up the scripting client using the command line\n\t"-. ... ... Use help command\n\t\t\t\t\tto ge...