# int FindChrPos(str, int)

[Family: Global](/imperivm/en/CKS/familias/global/)

## Exact signature

```text
int FindChrPos(str, int)
```

## Description

Returns the position of the first matching character, or -1 if it is not found. The position's indexing convention is not specified here.

## Parameters and return type

**Return type:** `int`

| Position | Type |
| --- | --- |
| 1 | `str` |
| 2 | `int` |

## Read and share

- [Markdown](/imperivm/exports/en/cks/api-d23355b1da165c.md)
- [JSON](/imperivm/CKS/api/entries/api-d23355b1da165c?lang=en)

Keep the notes and limitations when reusing this description. Do not infer undocumented parameter meanings, units or effects.
