View Single Post
  #5  
Old 10-18-2017, 01:09 PM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,636
Hi Alexandre,

So a super simplistic example is:

Code:
strText = crt.Screen.ReadString("-bash-3.2$")
vLines = Split(strText, vbcrlf)
For line in vLines
    If InStr(line, "string_searching_for") > 0 Then
    ' Do work
    Exit For
Next
Good Luck!
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote