---
title: "matchPrefixSingle(_:)"
framework: lightweightcoderequirements
role: symbol
role_heading: Instance Method
path: "lightweightcoderequirements/entitlementsquery/matchprefixsingle(_:)"
---

# matchPrefixSingle(_:)

Match the specified string prefix value against a string value (not an array).

## Declaration

```swift
func matchPrefixSingle(_ value: String) -> EntitlementsQuery
```

## Discussion

Discussion Strings are matched byte for byte (i.e. no unicode normalization occurs).
