07-17-2012, 04:46 AM
OK, seeing as I've updated to the latest sphere (June 29th, 2012, Nightly). There hasn't been any updates (for whichever reasons that may be).
I've noticed sphere is lacking (strlen(xx)).
(strlen(xx)) never works, it WAS a valid function back on 56b 2009. Now it never gives a result, reglardless of how, when, and where it is used. My suggestion; give it a proper format like <strlen <text>> to return the string length as a number. This is a valuable function for <stripos>,<strsub> and generally clipping textt that would return too long (such as in FILE.WRITELINE creating a server crash when writing more than 4096 characters on a line, messages/sysmessages crashing clients if the message is too long, probably other issues with clilocs (although I disable mine) and other reasons being).
2.
I've noticed sphere is lacking (strlen(xx)).
(strlen(xx)) never works, it WAS a valid function back on 56b 2009. Now it never gives a result, reglardless of how, when, and where it is used. My suggestion; give it a proper format like <strlen <text>> to return the string length as a number. This is a valuable function for <stripos>,<strsub> and generally clipping textt that would return too long (such as in FILE.WRITELINE creating a server crash when writing more than 4096 characters on a line, messages/sysmessages crashing clients if the message is too long, probably other issues with clilocs (although I disable mine) and other reasons being).
2.