Moonsoft Software Solutions

Linked List

Started 16 Jul 2012 · 2 replies

  1. moon_617
    Linked List: Name=12 months Value=A1_678

    Please tell me how to get 678?
  2. Moonsoft support
    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; // A1
    $value=$pieces; // 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
  3. moon_617
    Thank you very much!

Still stuck?

Customers with an active license can open a support ticket.

Log in to open a ticket