esm
09-08-2003, 12:30 PM
how do I search for the following symbols in the first position of a variable and if not found insert a "=" ?
=, !=, <>, < and >
$category="<32" would be ok (as would >32, <>32, =32 or !=32 )
but if $category="32" then change $category to be"=32"
=, !=, <>, < and >
$category="<32" would be ok (as would >32, <>32, =32 or !=32 )
but if $category="32" then change $category to be"=32"