XANSYS Message: 41161 [Go back to message list] [bookmark on del.icio.us]
No rating yet Subject: Re: [APDL] *vread with mixed character/number array Author: John Swanson Date: 2002-08-27 09:03:00Sorry, too much information required for a GET Function. We need at least: Filename,Extension,Directory, String, nSkip (or nOccur). I am inclined to use nSkip instead of nOccur because you might want to find the first occurrance of string B after String A. Also, the *GET could return the Parameter as the line number, or it could return the first 32 characters of the line, with _RETURN returning the line number. Is the return of the first 32 characters of the line useful, or is the simpler return of the line number as the *get parameter sufficient? John Swanson Swanson Analysis Services, Inc.
-----Original Message----- From: Weathers, Bob [mailto:bweathers@t...] Sent: Monday, August 26, 2002 3:11 PM To: 'xansys' Subject: RE: [xansys] [APDL] *vread with mixed character/number array
I really like JAS's thoughts about *GETting the line number that a text string appears in. It would be handy if it were implemented as a GET function. Maybe something along the line of
FindLine(MyText,nOccur)
where MyText is the string (up to 32 characters) you're looking for and nOccur is the nth occurrence (default 1).