I would like to compare strings. I'm using this for my navigation

PSEUDO-CODE

IF $title CONTAINS "abc: def"

        print TITLE;

        print SUB1;
        print SUB2;
        print SUB3;

ELSE

        print TITLE;


Comparing the number of characters in one string with another does not do
the trick. (strcmp)

Is there anything besides a general regex?

Or is my concern about processing speed unwaranted? There would be dozens of
look-ups per page, even using switch-case.

-- gil

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to