|
I want to do substring replacement so that a string like "Blah blah %LIB%/%OBJ%" turns into "Blah blah SOMELIB/SOMEOBJ". That is, I want to replace tokens like %LIB% with other strings of unknown/different lengths. I could use %subst, but then I think I'd have to specify a length, so the resulting string might look bad, like "Blah blah A /B".
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.