String library

ACSUtils provides a rich set of functions for working with strings.

Empty vs invalid strings

ACS strings are actually numbers that identify actual strings in the ACS VM's string table.

A number may not refer to any string at all, in that case it's an invalid string. Unlike some other ACS libraries, ACSUtils doesn't detect and support invalid strings. Passing invalid strings to ACSUtils functions may result in unexpected behavior.

"" is an empty string, i.e. a valid string of length 0. It can be passed to any function and will work as expected.

Comparing strings for equality