waitForDisplayString (String, boolean)

Method. Waits for one or more character strings to appear in the incoming datastream. In contrast to the waitForDisplayStrings method, which waits for characters to appear in the terminal window, this method allows you to wait for characters that may not appear in the terminal window, such as escape sequences and other non-printing characters. For IBM sessions, use waitForDisplayString.

public int waitForStrings(Vector inStrings,long timeout)