in reply to Re^2: String Search
in thread String Search

I am trying to help you, what is the name of this format? Where did you get the sample from? It looks like broken JSON or YAML.

Replies are listed 'Best First'.
Re^4: String Search
by kallol.chakra (Initiate) on Aug 31, 2009 at 10:30 UTC

    This data is not Broken, and I don't the formats JSON or YAML. This data is a INPUT data for a Mediation server.

    The Original data Structure I have developed. The data structure : 1. Read data 2. Take the data in a ARRAY like ARRAY[1] = "CME20CP6.CallDataRecord.uMTSGSMPLMNCallDataRecord" ARRAY[2] = "{" ARRAY[3] = "sCFChargingOutput" ARRAY[4] = "{" ARRAY[5] = "callIdentificationNumber : '6CBFD7'H" ..... 3. Find the Header =~ "CallDataRecord" put cntr = 1 4. Start The LOOP until "CallDataRecord" put cntr = 2 5. Take the data in a ARRAY between cntr = 1 and cntr = 2 Like this we have to take
      I was saying that if it were JSON or YAML it would have been broken, but since it is neither JSON nor YAML, you are correct that it isn't broken.

      Here you go

      Its easy to turn this pattern into hash based object.