MCPcopy Create free account
hub / github.com/SPLWare/esProc / pos

Method pos

src/main/java/com/scudata/common/StringUtils.java:1421–1490  ·  view source on GitHub ↗

查找子串在源串中的位置 @param source 源串 @param target 子串 @param fromIndex 源串的起始查找位置 @param ignoreCase 是否忽略大小写 @param headOnly 是否只比较头部 @param isLast 是否从后开始找 @param skipQuotation 是否跳过引号内的字符 @return 位置,找不到返回-1

(String source, String target, int fromIndex, 
			boolean ignoreCase, boolean headOnly, boolean isLast, boolean skipQuotation)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

posMethod · 0.95

Calls 6

endsWithIgnoreCaseMethod · 0.95
startsWithIgnoreCaseMethod · 0.95
lastIndexOfMethod · 0.95
indexOfMethod · 0.95
lastIndexOfMethod · 0.65
lengthMethod · 0.45

Tested by

no test coverage detected