---
name: "al_ustr_find_replace_cstr"
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_replace_cstr/3alleg5"
---

# al\_ustr\_find\_replace\_cstr(3alleg5)

Allegro 5 API

## NAME

al\_ustr\_find\_replace\_cstr - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro.h>
  bool al_ustr_find_replace_cstr(ALLEGRO_USTR *us, int start_pos,
     const char *find, const char *replace)
  ```

## DESCRIPTION

Like al\_ustr\_find\_replace(3alleg5) but takes C-style strings for `find` and `replace`.
