---
name: "uisspace"
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/uisspace"
---

# uisspace(3alleg)

Tells if a character is whitespace. Allegro game programming library.

## NAME

uisspace - Tells if a character is whitespace. Allegro game programming library.

## SYNOPSIS

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

**int uisspace(int c);**

## DESCRIPTION

Returns nonzero if \`c' is whitespace, that is, carriage return, newline, form feed, tab, vertical tab, or space. Example:

```
   for (counter = 0; counter < ustrlen(text_string); counter++) {
      if (uisspace(ugetat(text_string, counter)))
         usetat(text_string, counter, '_');
   }
```

## SEE ALSO

[**uisdigit**(3alleg)](/uisdigit/3alleg.md), [**ugetc**(3alleg)](/ugetc/3alleg.md), [**usetc**(3alleg)](/usetc/3alleg.md), [**uwidth**(3alleg)](/uwidth/3alleg.md), [**ucwidth**(3alleg)](/ucwidth/3alleg.md), [**uisok**(3alleg)](/uisok/3alleg.md)
