MCPcopy Create free account
hub / github.com/bage2014/study / replace

Method replace

study-utils/src/main/java/com/gootrip/util/CTool.java:36–69  ·  view source on GitHub ↗

���� String strVal="This is a dog"; String strResult=CTools.replace(strVal,"dog","cat"); ����� strResult equals "This is cat" @param strSrc Ҫ�����滻�������ַ��� @param strOld Ҫ���ҵ��ַ��� @param strNew Ҫ�滻���ַ��� @return �滻����ַ���

(String strSrc, String strOld,
                                       String strNew)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

getSabreTimeMethod · 0.95
getSabreDateMethod · 0.95
getSabreDateTimeMethod · 0.95
getCodeExpressionMethod · 0.45
getCodeAfterMappingMethod · 0.45
debugMethod · 0.45
uuidMethod · 0.45
KaFunction · 0.45
YFunction · 0.45

Calls 4

lengthMethod · 0.65
appendMethod · 0.65
equalsMethod · 0.45
toStringMethod · 0.45

Tested by 3

withJsonMethod · 0.36
itFunction · 0.36
testExtendViterbiMethod · 0.36