MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / trim

Function trim

modules/core/core/include/OpenString/text_view.h:361–364  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

359 }
360
361 [[nodiscard]] constexpr text_view trim(const text_view& text_set = text_view(u8" \t")) const noexcept
362 {
363 return this->trim_start(text_set).trim_end(text_set);
364 }
365
366 [[nodiscard]] constexpr u64 get_codepoint_index(const u64 codeunit_index) const noexcept
367 {

Callers

nothing calls this directly

Calls 3

text_viewFunction · 0.85
trim_endMethod · 0.80
trim_startMethod · 0.80

Tested by

no test coverage detected