3 Replies Latest reply on Dec 30, 2008 1:26 PM by kglad

    need to extract info out of a variable

    onostuff
      Hi,
      I need to be able to extract the last one or 2 characters from a variable that will be changing depending on which mc the user is over. The basic info looks like this: "_level0.instance2.menu.p12", with the numbers after the .p probably varying between 0 and 20. I need to feed just the number into another variable, so I need to get rid of the "_level0.instance2.menu.p" info before it. (This text may vari somewhat, but I think the . structure will probably be the same throughout).
      (I tried to do some searching on this forum before posting this, but am getting an error message when I try to launch a search).

      Any help much appreciated;
      Thanks
      oNoStuff