Reference

Class

RiTa

Name

RiTa.substrings

Description Returns all valid substrings of the input word in the lexicon
Syntax
RiTa.substrings(word);
substrings(word, minLength);
Parameters
Stringthe word to match
intminimum length of return word (optional, default=4)
Returns
String[]the matching words
Example
RiTa.substrings("exhibition", 5);
Platform Java / Javascript