?? strutility.java
字號:
// Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi
// Source File Name: StrUtility.java
package mediastore.util;
public class StrUtility
{
public StrUtility()
{
}
public static String replaceString(String strSource, String strMatch, String strReplace)
{
String strRet = "";
int nLen = strSource.length();
int nHead = 0;
int nTail = nLen - 1;
int nMatLen = strMatch.length();
for(; nHead < nLen; nHead = nTail + nMatLen)
{
nTail = strSource.indexOf(strMatch, nHead);
if(nTail == -1)
{
strRet = strRet + strSource.substring(nHead, nLen);
break;
}
strRet = strRet + strSource.substring(nHead, nTail);
strRet = strRet + strReplace;
}
return strRet;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -