?? utils.java
字號:
package com.sutternow.misc;/** * Created by IntelliJ IDEA. * User: sergei * Date: May 2, 2003 * Time: 6:48:24 PM * To change this template use Options | File Templates. */public class Utils { public static String parseNull(String str) { if (str==null) { return ""; } else return str; } //{{{ replaceString() method public static String replaceString(String aSearch, String aFind, String aReplace) { /* MP could not get regex replace to work. so I am including this function for now */ String result = aSearch; if (result != null && result.length() > 0) { int a = 0; int b = 0; while (true) { a = result.indexOf(aFind, b); if (a != -1) { result = result.substring(0, a) + aReplace + result.substring(a + aFind.length()); b = a + aReplace.length(); } else break; } } return result; } //}}}}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -