JCL Help:StrSame@AnsiString@AnsiString

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Tests two strings for equality.


Pascal

 function StrSame(const S1: string; const S2: string; CaseSensitive: Boolean = False): Boolean;
function StrSame(const S1: AnsiString; const S2: AnsiString): Boolean;


Parameters

Parameters Description
const S1: string First string to compare.
const S2: string Second string to compare.


Return Value

If the two strings are identical the return value is True, if they are not the return value is False.


Description

StrSame compares the two supplied strings and returns whether or not they are identical.


See Also

StrCompare


About

Unit

JclAnsiStrings


Donator

Azret Botash


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page