Converts 'string' into a "quoted" string -- use is_quoted_string and unquote_string IMPORTANT: this assumes the string is quoted -- no check is made
(str: &str)
| 50 | /// Converts 'string' into a "quoted" string -- use is_quoted_string and unquote_string |
| 51 | /// IMPORTANT: this assumes the string is quoted -- no check is made |
| 52 | pub fn unquote_string(str: &str) -> &str { |
| 53 | return &str[..str.len()-N_BYTES_NO_EVAL_QUOTE_CHAR]; |
| 54 | } |
| 55 | |
| 56 | |
| 57 | /// The main external call, `intent_from_mathml` returns a string for the speech associated with the `mathml`. |