[#17EC85A0D814CE64BAC8E46D3C45A5883DD5BBD7]

Function decode_view:: starts_with

Checks if the string begins with the given prefix

Synopsis

            bool
starts_with(core::string_view s) const noexcept;
        

Description

Example

assert( decode_view( "Program%20Files" ).starts_with("Program") );

Complexity

Linear.

Exception Safety

Throws nothing.