ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


functions:strisempty

Table of Contents

StrIsEmpty

bool StrIsEmpty(str s)

Description

Returns true if s is an empty string ("").

A string that consists of only whitespace (e.g. " ") is not considered empty.

0 is not an empty string. It is not a string at all.

Examples

StrIsEmpty("") -> true
StrIsEmpty(" ") -> false
StrIsEmpty("hello") -> false
functions/strisempty.txt · Last modified: 2017/03/19 20:55 by korshun