[Reference] System.SysUtils.SameText
Delphi
function SameText(const S1, S2: string): Boolean;
function SameText(const S1, S2: string; LocaleOptions: TLocaleOptions): Boolean;
C++
extern PACKAGE bool __fastcall SameText(const System::UnicodeString S1, const System::UnicodeString S2)/* overload */;
Properties
Type |
Visibility |
Source |
Unit |
Parent |
function |
public |
System.SysUtils.pas System.SysUtils.hpp |
Description
Compares two strings by ordinal value without case sensitivity.
SameText compares S1 and S2 and returns True if they are equal.
SameText is not case-sensitive and is not affected by the current locale.
대소문자를 구분하지 않고 서수 값으로 두 문자열을 비교합니다.
SameText는 S1과 S2를 비교하여 같으면 True를 반환합니다.
SameText는 대 / 소문자를 구분하지 않으며 현재 로케일에 영향을 받지 않습니다.
comparer [kɔ̃paʀe] 1. 비교하다,대조하다 2. 비유하다 3. 비교되다 ordinal 미국식 [|ɔ:rdənl] 서수(‘첫째(first)', ‘둘째(second)' 등과 같은 수) without 미국·영국 [wɪ|ðaʊt] 1. …없이(…을 가지지・경험하지・보이지 않고) 2. (어떤 사람이) 없이 3. …없이, …을 사용하지 않고 sensitivity 미국·영국 [|sensə|tɪvəti] (프로그래밍) 대소 문자를 구분하는 특성; 문자가 대문자인지 소문자인지에 따라 입력 된 문자와 다른 반응을 보입니다. locale [loukǽl] 사용자의 언어, 국가뿐 아니라 사용자 인터페이스에서 사용자가 선호하는 사항을 지정한 매개 변수의 모임 |
출처: http://docwiki.embarcadero.com/Libraries/XE2/en/System.SysUtils.SameText