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

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

Replies are listed 'Best First'.
Re^5: String Search
by Anonymous Monk on Aug 31, 2009 at 11:01 UTC
    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.