## CompareInfo::IsPrefix(const String\&, const String\&) const method


지정된 문자열이 지정된 접두사로 시작하는지 확인합니다.

```cpp
virtual bool System::Globalization::CompareInfo::IsPrefix(const String &source, const String &prefix) const
```


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| 소스 | const String\& | 소스 문자열. |
| 접두사 | const String\& | 접두사 문자열. |

### ReturnValue

문자열이 접두사로 시작하면 true, 그렇지 않으면 false.

## 또 보기

* Class [String](../../../system/string/)
* Class [CompareInfo](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.Page for C++](../../../)
## CompareInfo::IsPrefix(const String\&, const String\&, CompareOptions) const method


지정된 비교 옵션을 사용하여 지정된 문자열이 지정된 접두사로 시작하는지 확인합니다.

```cpp
virtual bool System::Globalization::CompareInfo::IsPrefix(const String &source, const String &prefix, CompareOptions options) const
```


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| 소스 | const String\& | 소스 문자열. |
| 접두사 | const String\& | 접두사 문자열. |
| 옵션 | CompareOptions | 옵션을 비교합니다. |

### ReturnValue

문자열이 접두사로 시작하면 true, 그렇지 않으면 false.

## 또 보기

* Class [String](../../../system/string/)
* Enum [CompareOptions](../../compareoptions/)
* Class [CompareInfo](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.Page for C++](../../../)
