ID:2952641
 
BYOND Version:515
Operating System:Windows 10 Pro 64-bit
Web Browser:Firefox 129.0
Applies to:Dream Maker
Status: Open

Issue hasn't been assigned a status value.
Descriptive Problem Summary:
trimtext returns null for any empty string such as "" or " " or well you get the point

Numbered Steps to Reproduce Problem:

Code Snippet (if applicable) to Reproduce Problem:
world.log << (trimtext("") == null)


Expected Results:

for it to remove all (if any whitespace) and as a result return ""
as there is no whitespace in "" this shouldntve even returned null

Actual Results:

it returned null

Does the problem occur:
Every time? Or how often?
In other games?
In other user accounts?
On other computers?

When does the problem NOT occur?

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)

Workarounds:

Login to reply.