MCPcopy Create free account
hub / github.com/actiontech/dtle / ReplaceSpecifiedString

Function ReplaceSpecifiedString

driver/oracle/extractor/log_miner.go:1370–1372  ·  view source on GitHub ↗

替换指定字符

(s string, oldStr, newStr string)

Source from the content-addressed store, hash-verified

1368
1369// 替换指定字符
1370func ReplaceSpecifiedString(s string, oldStr, newStr string) string {
1371 return string(exbytes.Replace([]byte(s), []byte(oldStr), []byte(newStr), -1))
1372}
1373
1374// 字符串拼接
1375func StringsBuilder(str ...string) string {

Callers 1

parseDMLSQLMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected