Creates an Element based on the parameter.
Declaration Syntax
Parameters
- word (String)
- The word to create an Element for
Return Value
Element object based on the word
Remarks
If the word is hyphenated it returns a GroupElement containing the word and the word in a PhraseElement without hyphens.
If the word is not hyphenated it returns a WordElement, or a WildcardWordElement if the word contains a wildcard.