# WordFragment class

Namespace: [Grasshopper2.Parsing](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.parsing.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public sealed class WordFragment : Fragment
```

A run of letters, digits and underscores, starting with a letter or an underscore. Words are scanned greedily, so "point2" is a single word and the 'e' inside "Hello" cannot be mistaken for Euler's number.

## Properties

- [Kind](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parsing.wordfragment/kind.md): Gets the category of this fragment.

## Methods

- [Is](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parsing.wordfragment/is.md): (2 overloads) Compare this word against several spellings, ignoring case, which is how a notation accepts both "point" and "pt".

## Inherited Members

- From [Fragment](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parsing.fragment.md): [After](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parsing.fragment/after.md), [Defect](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parsing.fragment/defect.md), [Length](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parsing.fragment/length.md), [Next](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parsing.fragment/next.md), [NextMeaningful](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parsing.fragment/nextmeaningful.md), [Prev](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parsing.fragment/prev.md), [PrevMeaningful](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parsing.fragment/prevmeaningful.md), [Start](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parsing.fragment/start.md), [Text](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parsing.fragment/text.md), [IsAdjacentTo](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parsing.fragment/isadjacentto.md), [IsAll](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parsing.fragment/isall.md), [IsAny](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parsing.fragment/isany.md), [ToString](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parsing.fragment/tostring.md)
