System::String::IndexOf method
String::IndexOf(char_t, int, int) const method
Alt dizede karakter ileri arama.
int System::String::IndexOf(char_t c, int startIndex, int count) const
| Parametre | Tür | Açıklama |
|---|---|---|
| c | char_t | Aranacak karakter. |
| startIndex | int | Aramaya başlanacak indeks. |
| count | int | Aranacak karakter sayısı. |
ReturnValue
startIndex’ten itibaren ilk karakter konumunun indeksi veya bulunamazsa -1.
Ayrıca Bakınız
- Class String
- Namespace System
- Library Aspose.Font for C++
String::IndexOf(char_t, int) const method
Karakter ileri arama.
int System::String::IndexOf(char_t c, int startIndex=0) const
| Parametre | Tür | Açıklama |
|---|---|---|
| c | char_t | Aranacak karakter. |
| startIndex | int | Aramaya başlanacak indeks. |
ReturnValue
startIndex’ten itibaren ilk karakter konumunun indeksi veya bulunamazsa -1.
Ayrıca Bakınız
- Class String
- Namespace System
- Library Aspose.Font for C++
String::IndexOf(const String&, int, int) const method
Alt dize ileri arama.
int System::String::IndexOf(const String &str, int startIndex, int count) const
| Parametre | Tür | Açıklama |
|---|---|---|
| str | const String& | Aranacak alt dize. |
| startIndex | int | Kaynak dizede aramaya başlanacak konum. |
| count | int | Aranacak karakter sayısı. |
ReturnValue
Bulunan ilk alt dizenin indeksi veya bulunamazsa -1. Boş arama dizesi için her zaman startIndex döndürür.
Ayrıca Bakınız
- Class String
- Class String
- Namespace System
- Library Aspose.Font for C++
String::IndexOf(const String&, int, System::StringComparison) const method
Alt dize ileri arama.
int System::String::IndexOf(const String &str, int startIndex, System::StringComparison comparison_type) const
| Parametre | Tür | Açıklama |
|---|---|---|
| str | const String& | Aranacak alt dize. |
| startIndex | int | Kaynak dizede aramaya başlanacak konum. |
| comparison_type | System::StringComparison | Comparison modu. |
ReturnValue
Bulunan ilk alt dizenin indeksi veya bulunamazsa -1. Boş arama dizesi için her zaman startIndex döndürür.
Ayrıca Bakınız
- Class String
- Enum StringComparison
- Class String
- Namespace System
- Library Aspose.Font for C++
String::IndexOf(const String&, int) const method
Alt dize ileri arama.
int System::String::IndexOf(const String &str, int startIndex=0) const
| Parametre | Tür | Açıklama |
|---|---|---|
| str | const String& | Aranacak alt dize. |
| startIndex | int | Kaynak dizede aramaya başlanacak konum. |
ReturnValue
Bulunan ilk alt dizenin indeksi veya bulunamazsa -1. Boş arama dizesi için her zaman startIndex döndürür.
Ayrıca Bakınız
- Class String
- Class String
- Namespace System
- Library Aspose.Font for C++
String::IndexOf(const String&, System::StringComparison) const method
Alt dize ileri arama.
int System::String::IndexOf(const String &str, System::StringComparison comparison_type) const
| Parametre | Tür | Açıklama |
|---|---|---|
| str | const String& | Aranacak alt dize. |
| comparison_type | System::StringComparison | Comparison modu. |
ReturnValue
Bulunan ilk alt dizenin indeksi veya bulunamazsa -1. Boş arama dizesi için her zaman 0 döndürür.
Ayrıca Bakınız
- Class String
- Enum StringComparison
- Class String
- Namespace System
- Library Aspose.Font for C++
String::IndexOf(const String&, int, int, System::StringComparison) const method
Alt dize ileri arama.
int System::String::IndexOf(const String &value, int startIndex, int count, System::StringComparison comparisonType) const
| Parametre | Tür | Açıklama |
|---|---|---|
| değer | const String& | Aranacak alt dize. |
| startIndex | int | Kaynak dizede aramaya başlanacak konum. |
| count | int | Aranacak karakter sayısı. |
| comparisonType | System::StringComparison | Comparison modu. |
ReturnValue
Bulunan ilk alt dizenin indeksi veya bulunamazsa -1. Boş arama dizesi için her zaman startIndex döndürür.
Ayrıca Bakınız
- Class String
- Enum StringComparison
- Class String
- Namespace System
- Library Aspose.Font for C++