View Single Post
  #4  
Old 08-06-2018, 11:29 AM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,219
Hi cekoj,

That's a really old version of SecureCRT.

Please elaborate on what you mean by "only got one value".

Since there is an inconsistent amount of spaces *separating* the data you wish to get, you will have to look for other ways to isolate what you need.

Is there a consistent number of characters (and spaces) for all four fields taken together? (In other words, could you get 50 characters in the line each time and then split it on the spaces and trim the results?)

If not, is there a pattern to each field so you can isolate each one? (Is there always a "/" in Product Number? Is "R2" always found in Rev? Is the Serial a consistent number of alphanumeric characters? Is the Date consistently YYYYMMDD?)
__________________
Thanks,
--Brenda

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