---
name: "ustrlen"
section: "3alleg4"
platform: "linux"
package: "allegro4-doc"
version: "2:4.4.3.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/ustrlen/3alleg4"
---

# ustrlen(3alleg4)

Tells the number of characters in a string. Allegro game programming library.

## NAME

ustrlen - Tells the number of characters in a string. Allegro game programming library.

## SYNOPSIS

**#include \<allegro.h\>**

**int ustrlen(const char \*s);**

## DESCRIPTION

This function returns the number of characters in \`s'. Note that this doesn't have to equal the string's size in bytes.

## SEE ALSO

**uconvert**(3alleg4), **ustrsize**(3alleg4), **ustrsizez**(3alleg4)
