# Prose.CharIndexer class

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

```cs
public sealed class Prose.CharIndexer
```

CharIndexer which always return the null char if the index is out of bounds. It's a good class for getting string characters without having to worry about out-of-bounds indices.

## Constructors

- [Prose.CharIndexer](https://developer.rhino3d.com/api/gh2/type/grasshopper2.prose.charindexer/ctor.md): Create a new character indexer.

## Properties

- [Length](https://developer.rhino3d.com/api/gh2/type/grasshopper2.prose.charindexer/length.md): Gets the length of the string.

## Indexers

- [this[]](https://developer.rhino3d.com/api/gh2/type/grasshopper2.prose.charindexer/item.md): (2 overloads) Gets a char in this string.

## Methods

- [CharacterEquals](https://developer.rhino3d.com/api/gh2/type/grasshopper2.prose.charindexer/characterequals.md): Test whether the indexer matches a string of characters at the given index.
- [DigitAt](https://developer.rhino3d.com/api/gh2/type/grasshopper2.prose.charindexer/digitat.md): Gets whether the character at the given index if a digit.
- [SignAt](https://developer.rhino3d.com/api/gh2/type/grasshopper2.prose.charindexer/signat.md): Gets whether the character at the given index if a plus or minus sign.
