Edit question (was Re: string manipulation question)

Fairlight fairlite at fairlite.com
Sun Dec 12 17:23:49 PST 2004


On Sun, Dec 12, 2004 at 08:12:13PM -0500, J. P. Radley may or may not have
proven themselves an utter git by pronouncing:
> 
> Because substituting the four characters
> 	"uary"
> for the four characters
> 	"    "
> does not change the length of the input string,
> whereas substituting <two characters> for
> <one character> expands the string length?

It's not a substitution, it's an addition in either case, via the < > edit
operator.  If it was a substitution, the first edit would break entirely,
nuking the character next to it.  It has to work consistantly.

mark->
-- 
Bring the web-enabling power of OneGate to -your- filePro applications today!

Try the live filePro-based, OneGate-enabled demo at the following URL:
               http://www2.onnik.com/~fairlite/flfssindex.html


More information about the Filepro-list mailing list