# cmpistri(v128, v128, int)

> Compare packed strings with implicit lengths in a and b using the control in imm8, and store the generated index in dst.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Burst.Intrinsics](/engine/6000.6/script-reference/unity/burst/intrinsics.md)
* **Assembly:** UnityEngine.BurstModule

```csharp
public static int cmpistri(v128 a, v128 b, int imm8)
```

### Parameters

**** (\[v128]\(/engine/6000.6/script-reference/unity/burst/intrinsics/v128)): Vector a**** (\[v128]\(/engine/6000.6/script-reference/unity/burst/intrinsics/v128)): Vector b**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): Control

### Returns

| Type                                                       | Description |
| ---------------------------------------------------------- | ----------- |
| [int](https://learn.microsoft.com/dotnet/api/system.int32) | Index       |
