Finds the compound words in text and puts them in subwords, set subwords to null/nothing to just find if text has compound word formation.
Declaration Syntax
Return Value
True if text is entirely formed from compound words, False if not.
Remarks
Only adds words to list if all are valid. In other words, this will not find all words that
are part of text, but only the words that all make up text.
Eg. "catchmentarea" has words "catchment" and "area" but not "cat", "me" etc.
The order of the words in the list is the reverse of their order in text. Exceptions
Exception | Condition |
---|---|
ArgumentNullException | if text is null |