Q
questionmarc420
hii,
ihave a large string that needs to be formated to html format.
now before every chart its like this
-0-
*T
text -----
*T
i need to add <pre> and </pre> tags to replace the *T's but i don't
know how to go about this.
this is the code i used to scan the file an add links
data_body = data_body.replaceAll("((https?|ftp)://|mailto[^\\s<]+",
"<A TARGET=\"_new\" HREF=\"$0\">$0</a>");
if anyone knows how to surround the text in <pre> tags please let me
know
thanks.
morc
ihave a large string that needs to be formated to html format.
now before every chart its like this
-0-
*T
text -----
*T
i need to add <pre> and </pre> tags to replace the *T's but i don't
know how to go about this.
this is the code i used to scan the file an add links
data_body = data_body.replaceAll("((https?|ftp)://|mailto[^\\s<]+",
"<A TARGET=\"_new\" HREF=\"$0\">$0</a>");
if anyone knows how to surround the text in <pre> tags please let me
know
thanks.
morc