method of static class JsNgram

Description

Convert text into strictly 4 digit hex string array of unicode.

Example
JsNgram.toUnicodeArray('cat');
// returns ['0063', '0061', '0074']
JsNgram.toUnicodeArray('チェシャ猫');
// returns ['30c1','30a7','30b7','30e3','732b']
      
Usage

toUnicodeArray(text);

Argument text is a string to convert. This is used to generate a file name of json from a keyword to search.