Your message is a reply to anothers post and is more than 100 lines of
text. If possible, please trim your posts when replying. Thank you.
                                This is just a friendly reminder and your
message has not been blocked or altered in any way.

                                You could also simply use a regular
expression to do the replace.

<cfset *testString* = '<reference-link id="2" type="reference"/>' />

<cfset *newstring* = *rereplace*(*testString*,'<reference-link id="(\w)"
type="reference"/>',"<sup>\1</sup>") />

The newstring variable would now be <sup>2</sup>

Dean


---------------------------------------------------------------------------
Dean M. Lawrence
INTERNET DATA TECHNOLOGY
p // 888.438.4381 ext. 701
w // www.idatatech.com
f // www.facebook.com/idatatech
t // www.twitter.com/idatatech

Social Marketing | SEO | Design | Internet Development


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356221
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to