MCPcopy Create free account
hub / github.com/NeuralNetworkVerification/Marabou / replaceAll

Method replaceAll

src/common/MString.cpp:206–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204}
205
206void String::replaceAll( const String &toReplace, const String &replaceWith )
207{
208 while ( find( toReplace ) != Super::npos )
209 _super.replace( find( toReplace ), toReplace.length(), replaceWith._super );
210}
211
212bool String::endsWith( const String &suffix )
213{

Callers 1

test_replaceMethod · 0.80

Calls 2

replaceMethod · 0.80
lengthMethod · 0.80

Tested by 1

test_replaceMethod · 0.64