프로그래밍 언어/Delphi

[Reference] System.SysUtils.StrComp

얗마 2017. 2. 13. 19:30

Delphi

function StrComp(const Str1, Str2: PAnsiChar): Integer;

function StrComp(const Str1, Str2: PWideChar): Integer;

C++

extern PACKAGE int __fastcall StrComp(const char * Str1, const char * Str2)/* overload */;

Properties

Type

Visibility

Source

Unit

Parent

function

public

System.SysUtils.pas

System.SysUtils.hpp

System.SysUtils

System.SysUtils

Description

Compares two strings with case sensitivity.

Call StrComp to compare two null-terminated strings, with case sensitivity.

The return value is indicated in the following table.

Note: When working with International characters, use AnsiStrComp instead.

 

대소문자를 구분하여 두 문자열을 비교합니다.

StrCmp를 호출하여 두 개의 Null 종료 문자열을 대소문자를 구분하여 비교합니다.

반환 값은 다음 표에 나와 있습니다.

참고: 국제 문자로 작업 할 때 대신 AnsiStrComp 를 사용하십시오.

 

Return value

Condition

<0

Str1 sorts before Str2.

=0

Str1 is the same as Str2.

>0

Str1 sorts after Str2.

 

indicated 

계기에 표시된; 바람직한.

indicate 미국·영국 [|ɪndɪkeɪt] 

1. (사실임존재함을) 나타내다
2. (
조짐가능성을) 나타내다
3. (
특히 간접적으로) 내비치다

 

출처: http://docwiki.embarcadero.com/Libraries/XE2/en/System.SysUtils.StrComp