Function for parsing an item like 'eye_color=blue' or 'height=<166;180)' and outputting a string explaining the item in natural language like 'eye_color is blue' or 'height is between 166 to 180'.
1 | parseItem(item, intervalReader)
|
item |
A string containing key and value separated by '=', e.g. 'eye_color=(1;5]' |
intervalReader |
An object of type intervalReader. It allows different types of brackets, commas and infinity types to be defined and read. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.