---
name: "XmStringIsVoid"
section: "3"
platform: "linux"
package: "openmotif"
version: "2.3.8-4"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/XmStringIsVoid"
---

# XmStringIsVoid(3)

A compound string function that provides information on the existence of non-zero-length text components, tab components, or separator components

## NAME

**XmStringIsVoid** — A compound string function that provides information on the existence of non-zero-length text components, tab components, or separator components

## SYNOPSIS

```
#include <Xm/Xm.h>
Boolean XmStringIsVoid(
XmString s1);
```

## DESCRIPTION

**XmStringIsVoid** returns a Boolean value indicating whether or not string *s1* is void.

- *s1*

  Specifies the compound string

## RETURN

Returns True if any non-zero-length text components, tab components, or separator components exist in *s1*. That is, the function returns True if the string has no text, tabs, or separators. If *s1* contains the NULL string, the function returns True.

## RELATED

[**XmStringCreate**(3)](/XmStringCreate/3.md).
