Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

'waitfor' and save string

Status
Not open for further replies.

cryptotech

Technical User
Nov 9, 2007
26
US
Simple concept I'm stuck on...

when this data:

"ABC=1234XYZ456" dumps to my terminal I want to :

waitfor "ABC="
and save the remaining text "1234XYZ456" to a string to use elsewhere in my script.

is there another command to wait for a paricular string and copy a certain number of characters after it and save it to a new string?
 
answered my own question...
maybe there's an easier way to do it, but i've saved capture to text file search the text file, format and save string...

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top