This shows you the differences between the selected revision and the current version of the page.
| ptpscript:directives:string_comparison 2006/05/29 21:41 | ptpscript:directives:string_comparison 2007/01/24 10:15 current | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| ^ Directive ^ Description ^ | ^ Directive ^ Description ^ | ||
| | ''StandardComparison'' | Compare items using standard comparison | | | ''StandardComparison'' | Compare items using standard comparison | | ||
| + | | ''NumericComparison'' | Compare items numerically | | ||
| | ''StringComparison'' | Compare items as case-sensitive strings (default) | | | ''StringComparison'' | Compare items as case-sensitive strings (default) | | ||
| | ''iStringComparison'' | Compare items as case-insensitive strings | | | ''iStringComparison'' | Compare items as case-insensitive strings | | ||
| | ''NaturalComparison'' | Compare items as case-sensitive strings, using [[http://sourcefrog.net/projects/natsort/|natural ordering]] | | | ''NaturalComparison'' | Compare items as case-sensitive strings, using [[http://sourcefrog.net/projects/natsort/|natural ordering]] | | ||
| | ''iNaturalComparison'' | Compare items as case-insensitive strings, using [[http://sourcefrog.net/projects/natsort/|natural ordering]] | | | ''iNaturalComparison'' | Compare items as case-insensitive strings, using [[http://sourcefrog.net/projects/natsort/|natural ordering]] | | ||
| + | | ''LocaleComparison'' | Compare items as case-sensitive strings, according to locale | | ||
| + | | ''iLocaleComparison'' | Compare items as case-insensitive strings, according to locale | | ||
| - | For more information about comparison methods, see the [[PTPScript:Functions:Compare|compare()]] function. | + | |
| + | For more information about comparison methods, see the ''[[PTPScript:Functions:Compare|compare()]]'' function. | ||
| <note tip> | <note tip> | ||
| Line 16: | Line 20: | ||
| </note> | </note> | ||
| - | ~~DISCUSSION~~ | + | |