SphereServer BugTracker - SphereServer
View Issue Details
0002229SphereServerexecutable - linux buildpublic23-10-13 13:4127-10-13 19:11
wuffel 
Ben 
normalminoralways
resolvedfixed 
 
0.56c Nightly 
Automated (specify build number)
None
None
0002229: STRREVERSE doesnt invert the entire string, only the first argument
Example:
f_language <args> // args is "Hi my friend, how are you?"

[function f_language]
local.invertargs=<STRREVERSE <args>>
serv.log <local.invertargs>


This will deliver: dneirf ym iH

strreverse seems to only invert the first argument, not an entire string
No tags attached.
Issue History
23-10-13 13:41wuffelNew Issue
23-10-13 14:33xwerswoodxNote Added: 0001747
26-10-13 01:14BenAssigned To => Ben
26-10-13 01:14BenStatusnew => assigned
27-10-13 19:11BenNote Added: 0001750
27-10-13 19:11BenStatusassigned => resolved
27-10-13 19:11BenFixed in Version => 0.56c Nightly
27-10-13 19:11BenResolutionopen => fixed

Notes
(0001747)
xwerswoodx   
23-10-13 14:33   
Yes I tried it you are true.

If it is very important for you now, you can use this while they fix it;

[Function strreverseargs]
FOR 0 <eval <DARGV>-1>
LOCAL.RETURN .= ",<ARGV[<EVAL (<DARGV>-1)-<DLOCAL._FOR>>]>"
ENDFOR
RETURN <STRSUB 1 0 <LOCAL.RETURN>>

I wrote it now, I didn't try, but I think it's ok. But you can write this or not I don't know, this doesn't mean you can't write it, I only want to help you. I think they solve this problem as quickly as possible :)
(0001750)
Ben   
27-10-13 19:11   
Also fixes STRTOUPPER and STRTOLOWER