[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Expanding a macro within a string?

From: Paul Kirkaas
Subject: Expanding a macro within a string?
Date: Thu, 03 Sep 2009 16:36:53 +0200
User-agent: Thunderbird (Windows/20090812)

Sorry, this seems like it must be covered in the docs, but I spent a few hours off & on searching, without luck.

I want to do something like:


then expand XXX within a string:

someXXXstring => someZZZstring

Obviously, XXX would require some kind of delimiter:

some[XXX]string => someZZZstring.

I managed to do half of what I want;

defn(`XXX')string => ZZZstring

Is there any way to get the full monty?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]