MCPcopy Create free account
hub / github.com/MyGUI/mygui / getFromStart

Method getFromStart

MyGUIEngine/src/MyGUI_TextIterator.cpp:309–315  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

307 }
308
309 UString TextIterator::getFromStart() const
310 {
311 if (mSave == mEnd)
312 return {};
313 size_t start = mSave - mText.begin();
314 return UString(mText.substr(start, mCurrent - mText.begin() - start));
315 }
316
317 bool TextIterator::eraseFromStart()
318 {

Callers 1

getTextIntervalMethod · 0.80

Calls 3

UStringFunction · 0.85
substrMethod · 0.80
beginMethod · 0.45

Tested by

no test coverage detected