K
kaushik
Hi all,
I have a string like
$string='My marks are ( (10+20)*2) '
i should be able to convert this string to
$string='My marks are 60 '
the arithemaic expression may vary to any complexity. it may have
logical expressions like '&&' or '||' etc.
Can anyone help me out?
Thank you
Kaushik
I have a string like
$string='My marks are ( (10+20)*2) '
i should be able to convert this string to
$string='My marks are 60 '
the arithemaic expression may vary to any complexity. it may have
logical expressions like '&&' or '||' etc.
Can anyone help me out?
Thank you
Kaushik