InfoConnect for Airlines VBA Guide
ReadUntil2 Function
Specifies one or more terminator characters. Any one of these characters can terminate the read operation.
The time (in seconds) to wait for a terminator character. The range of valid values is 0 through 99.
Reads data from the host until one of the specified terminator characters is received. The terminator character is not included in the returned string.
Syntax
object.ReadUntil2( _
   ByVal terminatorChars As String, _
   ByVal timeout As Long _
) As String

Parameters

terminatorChars
Specifies one or more terminator characters. Any one of these characters can terminate the read operation.
timeout
The time (in seconds) to wait for a terminator character. The range of valid values is 0 through 99.

Return Value

The string of data that was read from the host.
See Also