Description Usage Arguments Value Examples
Extract the k-th digit (if available) from the characters of a string.
| 1 | kth_digit(string, k = 1L)
 | 
| string | An object that inherits from class  | 
| k | Integer specifying which digit to extract. | 
Returns the k-th digit (0-9) or NA if at least k digits 
are not found.
| 1 2 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.