Difference between revisions of "case-sensitive"

From Lazarus wiki
Jump to navigationJump to search
 
Line 11: Line 11:
 
|-
 
|-
 
| Compare two strings, ignoring accents characters
 
| Compare two strings, ignoring accents characters
| {{Doc|package=RTL|unit=sysutils|identifier=ansicomparestr|text=<syntaxhighlight lang="pascal" enclose="none">AnsiCompareStr</syntaxhighlight>}}
+
| {{Doc|package=RTL|unit=sysutils|identifier=ansicomparestr|text=<syntaxhighlight lang="pascal" inline>AnsiCompareStr</syntaxhighlight>}}
| {{Doc|package=RTL|unit=sysutils|identifier=ansicomparetext|text=<syntaxhighlight lang="pascal" enclose="none">AnsiCompareText</syntaxhighlight>}} 
+
| {{Doc|package=RTL|unit=sysutils|identifier=ansicomparetext|text=<syntaxhighlight lang="pascal" inline>AnsiCompareText</syntaxhighlight>}} 
 
|-
 
|-
 
| Compare two null-terminated strings
 
| Compare two null-terminated strings
| {{Doc|package=RTL|unit=sysutils|identifier=ansistrcomp|text=<syntaxhighlight lang="pascal" enclose="none">AnsiStrComp</syntaxhighlight>}}
+
| {{Doc|package=RTL|unit=sysutils|identifier=ansistrcomp|text=<syntaxhighlight lang="pascal" inline>AnsiStrComp</syntaxhighlight>}}
| {{Doc|package=RTL|unit=sysutils|identifier=ansistricomp|text=<syntaxhighlight lang="pascal" enclose="none">AnsiStrIComp</syntaxhighlight>}}
+
| {{Doc|package=RTL|unit=sysutils|identifier=ansistricomp|text=<syntaxhighlight lang="pascal" inline>AnsiStrIComp</syntaxhighlight>}}
 
|-
 
|-
 
| Compare a limited number of characters of two null-terminated strings
 
| Compare a limited number of characters of two null-terminated strings
| {{Doc|package=RTL|unit=sysutils|identifier=ansistrlcomp|text=<syntaxhighlight lang="pascal" enclose="none">AnsiStrLComp</syntaxhighlight>}}
+
| {{Doc|package=RTL|unit=sysutils|identifier=ansistrlcomp|text=<syntaxhighlight lang="pascal" inline>AnsiStrLComp</syntaxhighlight>}}
| {{Doc|package=RTL|unit=sysutils|identifier=ansistrlicomp|text=<syntaxhighlight lang="pascal" enclose="none">AnsiStrLIComp</syntaxhighlight>}}
+
| {{Doc|package=RTL|unit=sysutils|identifier=ansistrlicomp|text=<syntaxhighlight lang="pascal" inline>AnsiStrLIComp</syntaxhighlight>}}
 
|-  
 
|-  
 
| Compare two ansistrings, ignoring special characters
 
| Compare two ansistrings, ignoring special characters
| {{Doc|package=RTL|unit=sysutils|identifier=comparestr|text=<syntaxhighlight lang="pascal" enclose="none">CompareStr</syntaxhighlight>}}
+
| {{Doc|package=RTL|unit=sysutils|identifier=comparestr|text=<syntaxhighlight lang="pascal" inline>CompareStr</syntaxhighlight>}}
| {{Doc|package=RTL|unit=sysutils|identifier=comparetext|text=<syntaxhighlight lang="pascal" enclose="none">CompareText</syntaxhighlight>}}  
+
| {{Doc|package=RTL|unit=sysutils|identifier=comparetext|text=<syntaxhighlight lang="pascal" inline>CompareText</syntaxhighlight>}}  
  
 
|}
 
|}

Latest revision as of 17:11, 6 August 2022

English (en) suomi (fi)

Case-sensitive is ability to distinguish between uppercase (capital) and lowercase (small) letters. Pascal is not case-sensitive (case-insensitive).

Description Case-sensitive Case-insensitive
Compare two strings, ignoring accents characters AnsiCompareStr AnsiCompareText
Compare two null-terminated strings AnsiStrComp AnsiStrIComp
Compare a limited number of characters of two null-terminated strings AnsiStrLComp AnsiStrLIComp
Compare two ansistrings, ignoring special characters CompareStr CompareText