3 Replies Latest reply: Jul 25, 2012 5:47 AM by Frans Engelage RSS

    Split String in parts

      Who can help me.

       

      I have a string, named Service.
      I want to devide the string into three separate parts, named: Area, Function and Systeem.


      The structure from Service is as follows:
      Layout Service:Number,Space,Area,-,Number,Space,Function,-,Number,Space,Systeem

       

      For example:5 D PIER-02 LATERALS-50240 LATERALS NOORD
      Area:D PIER
      Function:LATERALS
      Systeem:LATERALS NOORD

       

      Next example:3 TERMINAL 2-33 ALT LOSINSTALLATIE (MUM)-53301 ALT LOSINSTALLATIE 21
      Area:TERMINAL 2
      Function:ALT LOSINSTALLATIE (MUM)
      Systeem:ALT LOSINSTALLATIE 21

       

      I want to use the script in the loadscript.

      Can someone help me with this.

       

      Thanks in advance,

       

      Frans