3 Flexible ordering and equivalence based on character table
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
    • Packages
      • Managing external tables for SWI-Prolog
        • Flexible ordering and equivalence based on character table
          • new_order_table/2
          • order_table_mapping/3
          • compare_strings/4
          • prefix_string/3
          • prefix_string/4
          • sub_string/3
Availability::- use_module(library(table)).(can be autoloaded)
new_order_table(+Name, +Options)
Create a new, or replace the order-table with the given name (an atom). Options is a list of options:

case_insensitiveMap all upper- to lowercase characters.
iso_latin_1Start with an ISO-Latin-1 table
iso_latin_1_case_insensitiveStart with a case-insensitive ISO-Latin-1 table
copy(+Table)Copy all entries from Table.
tag(+ListOfCodes)Add these characters to the set of‘tag' characters.
ignore(+ListOfCodes)Add these characters to the set of‘ignore' characters.
break(+ListOfCodes)Add these characters to the set of‘break' characters.
+Code1 = +Code2 Map Code1 onto Code2.