1#include <Core/Utils/StringUtils.hpp>
38 if ( pos == 0 ) { res =
"/"; }
54 if ( pos < res.
length() ) { res = res.
substr( pos + 1 ); }
55 if ( !keepExtension ) {
65 for ( std::string::size_type pos {};
66 inout.npos != ( pos = inout.
find( what.data(), pos, what.length() ) );
67 pos += with.length(), ++count ) {
68 inout.
replace( pos, what.length(), with.data(), with.length() );
74 return replaceAllInString( inout, what,
"" );
T find_first_of(T... args)
T find_last_not_of(T... args)
T find_last_of(T... args)
hepler function to manage enum as underlying types in VariableSet