MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / removeString

Method removeString

JUCE/modules/juce_core/text/juce_StringArray.cpp:232–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

230}
231
232void StringArray::removeString (StringRef stringToRemove, bool ignoreCase)
233{
234 if (ignoreCase)
235 {
236 for (int i = size(); --i >= 0;)
237 if (strings.getReference(i).equalsIgnoreCase (stringToRemove))
238 strings.remove (i);
239 }
240 else
241 {
242 for (int i = size(); --i >= 0;)
243 if (stringToRemove == strings.getReference (i))
244 strings.remove (i);
245 }
246}
247
248void StringArray::removeRange (int startIndex, int numberToRemove)
249{

Callers 10

refreshDevicesMethod · 0.80
scanNextFileMethod · 0.80
removeFileMethod · 0.80
addRecentlyUsedFileMethod · 0.80
getMenuNamesMethod · 0.80
getClassDeclarationMethod · 0.80
addFrameworksMethod · 0.80

Calls 4

equalsIgnoreCaseMethod · 0.80
getReferenceMethod · 0.80
sizeFunction · 0.70
removeMethod · 0.45

Tested by

no test coverage detected