code103.java

package pack03;//StringDeal類,用于處理EL函數(shù)字符串中的回車換行和空格符public class code103{	public static String shiftEnter(String str)	{		String newStr = str.replaceAll("/r/n", "
"); newStr = newStr.replaceAll(" ", " "); return newStr; }}