作者:LeoYUN
//Class toHTML
//CopyRight:Writed By Yun Leo(php4er@sohu.com)
//Last modify time:2003-8-31
//Method: public String toHTML(String old_string)
class toHTML
{
public String toHTML(String sStr)
{
if (sStr == null||sStr.equals(""))
{
return sStr;
}
String sTmp = new String();
int i = 0;
while (i <= sStr.length()-1)
{
if (sStr.charAt(i) == 'n')
{
sTmp = sTmp.concat("
标签: