MCPcopy Create free account
hub / github.com/HumbleNet/HumbleNet / endsWithIgnoreCase

Method endsWithIgnoreCase

3rdparty/Amalgamate/juce_core_amalgam.cpp:10713–10728  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10711}
10712
10713bool String::endsWithIgnoreCase (const String& other) const noexcept
10714{
10715 CharPointerType end (text.findTerminatingNull());
10716 CharPointerType otherEnd (other.text.findTerminatingNull());
10717
10718 while (end > text && otherEnd > other.text)
10719 {
10720 --end;
10721 --otherEnd;
10722
10723 if (end.toLowerCase() != otherEnd.toLowerCase())
10724 return false;
10725 }
10726
10727 return otherEnd == other.text;
10728}
10729
10730String String::toUpperCase() const
10731{

Callers 3

hasFileExtensionMethod · 0.80
runTestMethod · 0.80
getSpecialLocationMethod · 0.80

Calls 2

findTerminatingNullMethod · 0.45
toLowerCaseMethod · 0.45

Tested by

no test coverage detected