MCPcopy Create free account
hub / github.com/SmingHub/Sming / remove

Method remove

Sming/Wiring/WString.cpp:871–887  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

869}
870
871void String::remove(size_t index, size_t count)
872{
873 if(count == 0) {
874 return;
875 }
876 auto len = length();
877 if(index >= len) {
878 return;
879 }
880 if(count > len - index) {
881 count = len - index;
882 }
883 char* writeTo = buffer() + index;
884 len -= count;
885 memmove(writeTo, writeTo + count, len - index);
886 setlen(len);
887}
888
889void String::toLowerCase(void)
890{

Callers 15

jquery.jsFile · 0.45
VbFunction · 0.45
jquery.jsFile · 0.45
VbFunction · 0.45
jquery.jsFile · 0.45
VbFunction · 0.45
executeMethod · 0.45
executeMethod · 0.45
executeMethod · 0.45
testHttpHeadersMethod · 0.45
doxy-boot.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected