Anonymous user
String comparison: Difference between revisions
m
added related tasks.
Alpha bravo (talk | contribs) (Added AutoHotkey) |
m (added related tasks.) |
||
Line 1:
{{task|Basic Data Operations}}
{{basic data operation}}
The task is to demonstrate how to compare two strings from within the language and how to achieve a lexical comparison. ▼
[[Category:Basic language learning]]
[[Category:Simple]]
;Task:
▲
The task should demonstrate:
Line 9 ⟶ 15:
* How to achieve both case sensitive comparisons and case insensitive comparisons within the language
* How the language handles comparison of numeric strings if these are not treated lexically
* Demonstrate any other kinds of string comparisons that the language provides, particularly as it relates to your type system
For example, you might demonstrate the difference between generic/polymorphic comparison and coercive/allomorphic comparison if your language supports such a distinction.
<br>
Line 17 ⟶ 26:
{{Template:Strings}}
<br><br>
=={{header|AArch64 Assembly}}==
{{works with|as|Raspberry Pi 3B version Buster 64 bits}}
|