---
name: "al_ustr_find_set"
section: "3alleg5"
platform: "linux"
package: "allegro5-doc"
version: "2:5.2.10.1+dfsg-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/al_ustr_find_set/3alleg5"
---

# al\_ustr\_find\_set(3alleg5)

Allegro 5 API

## NAME

al\_ustr\_find\_set - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro.h>
  int al_ustr_find_set(const ALLEGRO_USTR *us, int start_pos,
     const ALLEGRO_USTR *accept)
  ```

## DESCRIPTION

This function finds the first code point in `us`, beginning from byte offset `start_pos`, that matches any code point in `accept`. Returns the position if a code point was found. Otherwise returns -1.

## SEE ALSO

al\_ustr\_find\_set\_cstr(3alleg5), al\_ustr\_find\_cset(3alleg5)
