weversbv
asked on
Splitting number
Have the following line:
$line = "Worldpay (12676141)";
This is what I need:
$test="12676141";
and $line has be change to:
$line = "Worldpay (<a href=\"http://www.test.com/test.cgi?test=1&we=2\">12676141</a>)";
How to do that!
$line = "Worldpay (12676141)";
This is what I need:
$test="12676141";
and $line has be change to:
$line = "Worldpay (<a href=\"http://www.test.com/test.cgi?test=1&we=2\">12676141</a>)";
How to do that!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
$test = $2;