Forum


Calc Builder Support

Calc Builder support
Forums
Public write access is disabled. Please login

Linked List 16.07.2012 14:53

Linked List: Name=12 months Value=A1_678

Please tell me how to get 678?

Re: Linked List 16.07.2012 15:23

Hello,
To get the last part of the value, you have to split the value in two pieces, using the _ sign, and then get the second one, this way:


$pieces = explode("_", $yourlinkedvalue);

$preffix=$pieces[0]; // A1
$value=$pieces[1]; // 678


At this point you will have the number stored at the '$value' variable

You can get more info here:
http://php.net/manual/en/function.explode.php


Hope this helps
Moonsoft Team
www.moonsoft.es

Re: Linked List 16.07.2012 15:54

Thank you very much!
Are you satisfied with our products/services/support?
Please help us to keep improving, add a review at  joomla extensions site and  magento connect

Our clients' feedback