ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


functions:hascolorcodes

Table of Contents

HasColorCodes

bool HasColorCodes(str s)

Description

Returns true if the string contains color codes anywhere.

Examples

HasColorCodes("\cghello") -> true
HasColorCodes("hello") -> false
HasColorCodes("hello\cg") -> true
functions/hascolorcodes.txt · Last modified: 2017/03/19 18:38 by korshun