Chapter 2: ColdFusion Functions
501
<P>String 1
<BR><INPUT TYPE="Text" VALUE="My Test String" NAME="MyString">
<P>Substring 1 (find this list of substrings)
<BR><INPUT TYPE="Text" VALUE="Test, String" NAME="MySubstring1">
<P>Substring 2 (replace with this list of substrings)
<BR><INPUT TYPE="Text" VALUE="Replaced, Sentence" NAME="MySubstring2">
<P><INPUT TYPE="Submit" VALUE="Replace and display" NAME="">
</FORM>
</BODY>
</HTML>