System::String::CompareOrdinal メソッド
String::CompareOrdinal(const String&, const String&) method
Less-equal-greaterはOrdinalモードを使用して2つの文字列を比較します。
static int System::String::CompareOrdinal(const String &strA, const String &strB)
| パラメーター | 型 | 説明 |
|---|---|---|
| strA | const String& | 比較対象の最初の文字列。 |
| strB | const String& | 比較対象の2番目の文字列。 |
ReturnValue
最初の部分文字列が2番目より小さい場合は負の値、等しい場合は0、そうでない場合は正の値を返します。
参照
- Class String
- Class String
- Namespace System
- Library Aspose.Page for C++
String::CompareOrdinal(const String&, int, const String&, int, int) method
Less-equal-greaterはOrdinalモードを使用して2つの文字列を比較します。
static int System::String::CompareOrdinal(const String &strA, int indexA, const String &strB, int indexB, int length)
| パラメーター | 型 | 説明 |
|---|---|---|
| strA | const String& | 比較対象の最初の文字列。 |
| indexA | int | 最初の文字列部分の開始位置。 |
| strB | const String& | 比較対象の2番目の文字列。 |
| indexB | int | 2番目の文字列部分の開始位置。 |
| length | int | 比較する文字数。 |
ReturnValue
最初の部分文字列が2番目より小さい場合は負の値、等しい場合は0、そうでない場合は正の値を返します。
参照
- Class String
- Class String
- Namespace System
- Library Aspose.Page for C++