[thelist] Cold Fusion and string manipulation
Frank
framar at interlog.com
Wed, 19 Jan 2000 14:57:17 -0500
I'm from a Frontier background. One of Frontier's greatest strengths
is that it can chew up strings to beat the band.
Examples:
Let's say (all other considerations aside) that I wanted to replace
all <li> with say <image> <p class="">. Piece of cake. I've been
looking for such things in Cold Fusion. I notice that it's phenomenal
at database manipulation, but doesn't seem so strong on strings.
Another example would be that I could replace all incidents of "Abc
Corp." with "ABC INC." either in the template, or in the body just as
processed. Another example would be to find/replace all incidents of
"ABC" with "XYZ" in the database itself. I'm finding this to be
lacking in Cold Fusion
My questions are
1) Are these abilities here in CF, and is it just my
inexperience/lack of deep knowledge that I'm running into,
2) Can this be done in CF, but lots of work-arounds are required,
3) Am I indeed noticing what truly is?
I'd be interested in hearing of any cool string manipulation tips you may have.
--
Frank Marion,
Loofah Communications;
framar@interlog.com
http://www.loofahcom.com