Character Replacement
Darren Reely
darren_reely@latticesemi.com
Tue, 27 Feb 2001 13:51:26 -0800
Bill,
Another possibility is to write a Quick screen to perform the processing
you were thinking of having QTP perform. You don't need to run it
interactively either.
When a Quick screen starts it executes the INITIALIZE procedure. Have that
procedure call other internal procedures as needed then place a RETURN (or
EXIT) at the end of it.
Here we have a line something like this:
quick term=vt200 procloc=proc_loc dict=$PHD auto=screenname <
inputfile.in
We run on Sun Solaris. The term=vt200 is important.
Darren
Bill D Michael wrote:
>
> Looking for a way in QTP (or Quiz) to replace all occurances of a single
> character in a field with another character - for example, the record might
> contain "---- this is a test ----", and I want to update it to contain "
> ==== this is a test ====". Primarily because we have users entering
> "illegal" characters into text fields on Quick screens that cause problems
> much later, such as quotes, slashes, and @ signs.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
This list is closed, thus to post to the list, you must be a subscriber.