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

# XmStringEmpty(3)

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

## NAME

**XmStringEmpty** — A compound string function that provides information on the existence of non-zero-length text components

## SYNOPSIS

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

## DESCRIPTION

**XmStringEmpty** returns a Boolean value indicating whether any non-zero-length text components exist in the provided compound string. It returns True if there are no text segments in the string. If this routine is passed NULL as the string, it returns True.

- *s1*

  Specifies the compound string

## RETURN

Returns True if there are no text segments in the string. If this routine is passed NULL as the string, it returns True.

## RELATED

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