Help - Search - Members - Calendar
Full Version: $eql() function case-sensitivity
Mp3tag Forums > Mp3tag - International > Bug Reports
ptrk.mj
$eql() function is case-insensitive despite Mp3tag help file claims it "returns true, if x equals y".

Mp3tag lacks case-sensitive boolean function for verifying equality of two strings. At the moment, one must resort to using regular expressions.

E.g.
CODE
$if($eql(a,A),x,y)

returns x

There's also $strcmp() function (same name as in foobar2000) but it seems to be just an alias of $eql() in spite of being case-sensitive in foobar.

According to help file syntax of two applications "should be (almost) compatible" smile.gif

Please change the behavior of $eql() function or provide us with another solution.
DetlevD
QUOTE (ptrk.mj @ Jun 7 2011, 19:20) *
$eql() function is case-insensitive despite Mp3tag help file claims it "returns true, if x equals y".
... There's also $strcmp() function ...

Yes, $strcmp and $stricmp work the same as $eql, but I do not see where these string comparing functions have been documented.

DD.20110607.1958.CEST
dano
I'd like a working $strcmp() function.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.