Character replace in Quiz
PAUL DIACONESCU
paul_diaconescu@hotmail.com
Thu, 06 Jan 2005 09:57:17 -0500
You can also sen your report on a disc file (set report device disc),
and before printing your file, use qedit in order to replace all ';' by ' '.
regards,
paul diaconescu
>From: "Knox, Dave (Dallas, CSC)" <KnoxDa01@unisourcelink.com>
>To: "'Robert Mills'" <robert.mills@windsong-services.co.uk>, "PowerHouse
>Mail List (E-mail)" <powerh-l@lists.sowder.com>
>Subject: RE: Character replace in Quiz
>Date: Wed, 5 Jan 2005 13:46:03 -0500
>
>Robert
>
>Use MPE system functions to do it for you...
>
>In your quiz...
>
>define D-REPLACE char*50 = '![repl("' + NAME + '",";"," ")]'
>define D-NAME char*30 = getsystemval("D_REPL") if
>setsystemval("D_REPL",D-REPLACE)
>
>Where NAME is your source field and D-NAME is the result.
>
>Regards
>Dave Knox
>
>
>-----Original Message-----
>From: powerh-l-admin@lists.sowder.com
>[mailto:powerh-l-admin@lists.sowder.com] On Behalf Of Robert Mills
>Sent: Wednesday, January 05, 2005 12:06 PM
>To: PowerHouse Mail List (E-mail)
>Subject: Character replace in Quiz
>
>
>
>Greetings to the -L,
>
>Environment: Quiz 8.39.C running on MPE/iX 6.5
>
>I have a char*30 source field that may contain any number of semi-colons
>which I need to replace with spaces. Any advice on the most efficient way
>of
>doing this?
>
>regards,
>
>Robert W.Mills
>Systems Development Manager
>Windsong Services
>(020) 8309 3604
>