---
name: "ustrlen"
section: "3alleg"
platform: "linux"
package: "liballegro-doc"
version: "2:4.2.2-2.2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/ustrlen"
---

# ustrlen(3alleg)

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**(3alleg)](/uconvert/3alleg.md), [**ustrsize**(3alleg)](/ustrsize/3alleg.md), [**ustrsizez**(3alleg)](/ustrsizez/3alleg.md)
