Page 1 of 1
bug?: $strlen and $arg
Posted: Tue Oct 21, 2003 3:12 pm
by LordGiddion
both these functions seem to break if the string contain ( or , - see
http://macroquest2.com/phpBB2/viewtopic ... 4033#24033 for an example.
More details
Posted: Tue Oct 21, 2003 3:49 pm
by LordGiddion
/echo $strlen("this is a test(not much of a test) Just a test")
Returns 33 Just a test")
/echo $arg(5,"this is a test(not much of a test) Just a test")
Returns much Just a test")
Posted: Fri Oct 24, 2003 12:27 am
by Plazmic
I think I've gotten this bug fixed in my local copy for the following:
$arg()
$left()
$mid()
$right()
$instr()
$strlen()
$ucase()
$lcase()
Posted: Fri Oct 24, 2003 9:49 am
by AarynD
Cool, this might be the answer to my string parsing problems post under Macro Help.