Description Usage Arguments Value Examples
Converts a plural from from text to list with the input text, nplurals value and a R function
plural(n) which computes the plural index from n.
Note 1: The index is increased by one since R starts with x[1] and C with x[0]
Note 2: Only a subset of C symbols are supported based on the test cases:
(, ), %, <, >, >=, <=, &&, ||, ?:, =, and ;.
1 | plural2R(ctxt)
|
ctxt |
character: one string with a plural form |
list with the input text, nplurals value and a R function plural(n)
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.