MCPcopy Create free account
hub / github.com/Singular/Singular / replace_all

Method replace_all

ppcc/adlib/str.h:127–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125 Int rfind(const char *s, Int n);
126 Str *replace_count(Int n, Str *pattern, Str *replacement);
127 Str *replace_all(Str *pattern, Str *replacement) {
128 return replace_count(_len, pattern, replacement);
129 }
130 StrArr *split(Str *sep);
131 StrArr *split(char ch);
132 StrArr *split(const char *s);

Callers 3

MainFunction · 0.80
EmitDeclFunction · 0.80
EmitEpilogueFunction · 0.80

Calls

no outgoing calls

Tested by 1

MainFunction · 0.64