Insert HTML Tags in String
Posted: Tue Jun 12, 2007 10:12 pm
I am looking for a way to insert HTML tags into a string. For example, if I want to highlight part of a user's input how can I wrap it in HTML tags to underline or change its colour?
Example:
User input:
This is an example.
Then I want to hight one word:
This is an example.
I cannot find any string function/s that will do this.
Example:
User input:
This is an example.
Then I want to hight one word:
This is an example.
I cannot find any string function/s that will do this.