CX Framework
Cross-platform C utility framework
Loading...
Searching...
No Matches
strcompare.h
1#pragma once
2
3#include <cx/string/strbase.h>
4
5CX_C_BEGIN
6
16
33_Pure bool strEq(_In_opt_ strref s1, _In_opt_ strref s2);
34
51_Pure bool strEqi(_In_opt_ strref s1, _In_opt_ strref s2);
52
69_Pure int32 strCmp(_In_opt_ strref s1, _In_opt_ strref s2);
70
85_Pure int32 strCmpi(_In_opt_ strref s1, _In_opt_ strref s2);
86
106_Pure bool strRangeEq(_In_opt_ strref str, _In_opt_ strref sub, int32 off, uint32 len);
107
118_Pure bool strRangeEqi(_In_opt_ strref str, _In_opt_ strref sub, int32 off, uint32 len);
119
136_Pure int32 strRangeCmp(_In_opt_ strref str, _In_opt_ strref sub, int32 off, uint32 len);
137
149_Pure int32 strRangeCmpi(_In_opt_ strref str, _In_opt_ strref sub, int32 off, uint32 len);
150
166_Pure bool strBeginsWith(_In_opt_ strref str, _In_opt_ strref sub);
167
183_Pure bool strBeginsWithi(_In_opt_ strref str, _In_opt_ strref sub);
184
200_Pure bool strEndsWith(_In_opt_ strref str, _In_opt_ strref sub);
201
217_Pure bool strEndsWithi(_In_opt_ strref str, _In_opt_ strref sub);
218
220
221CX_C_END
bool strEndsWith(strref str, strref sub)
bool strRangeEqi(strref str, strref sub, int32 off, uint32 len)
bool strEq(strref s1, strref s2)
bool strBeginsWith(strref str, strref sub)
int32 strCmpi(strref s1, strref s2)
int32 strRangeCmp(strref str, strref sub, int32 off, uint32 len)
bool strRangeEq(strref str, strref sub, int32 off, uint32 len)
bool strEndsWithi(strref str, strref sub)
int32 strRangeCmpi(strref str, strref sub, int32 off, uint32 len)
bool strBeginsWithi(strref str, strref sub)
int32 strCmp(strref s1, strref s2)
bool strEqi(strref s1, strref s2)
Core string types and fundamental operations.