HP3000-L Archives

July 2001, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Paul Scott <[log in to unmask]>
Reply To:
Date:
Mon, 23 Jul 2001 10:32:46 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (26 lines)
I am having some trouble this morning using the repl function on a string
that has matched pairs of double quotes and occasionally single quotes that
are not matched.

I have a ci script running to read in one record at a time in to the
variable RECORD. I then need to replace certain strings within that
variable, but the fact that I have both double and single quotes is giving
me grief.

What other delimiters are available for the repl function, or what is
another solution?

I have tried colons, slashes, and pipes (:,/,|) to no avail. My function
looks like:
setvar record1 repl('!record',',',';')     replace commas w/ semicolons.

Thanks in advance,

Paul Scott
Problem Solved
(707) 451-2611
[log in to unmask]

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2