< 運算子會判定第一個物件是否小於第二個物件。
Public
int operator<(const OMString& s) const
int operator<(const char * c2) const
inline int operator<(const char * c, const OMString& s)
秒
要與現行字串相比較的字串
c2
要與現行字元相比較的字元
c
要與指定字串相比較的字元
秒
要與指定字元相比較的字串
此方法會傳回下列其中一項值: