3 Replies Latest reply: Apr 29, 2015 8:57 AM by Puttemans Johan RSS

    Invert content of a variable

    Puttemans Johan

      Dear all,


      I'm facing this issue where I really need a solution for.


      I have a file containing an identifier (MORO-ID) and a route. This route is composed of a varying number of stationcodes, each time separated by a semicolon. For some of the MORO-ID's, I now need to invert the route. So given a route a;b;c;d;e;f;g this would need to become g;f;e;d;c;b;a


      Could anyone give me a hint on how to tackle this?


      (file attached)