Extracting sub string using Perl

I have string as follows.

{ "id": "1304145" ,"Name" : "Ravi" ,"State" : "KAR" ,"Comp" : "CTL" } ,{ "id": "2488398" ,"Name" : "Abhik" ,"State" : "TEL" ,"Comp" : "WFG" } ,{ "id": "89039487" ,"Name" : "Jana" ,"State" : "ODS" ,"Comp" : "TOT" } 

I want to extract each of the sub-string present in a {} and make a format as follws

ID          Name    State   Comp 1304145     Ravi    KAR     CTL 2488398     Abhik   TEL     WFG 89039487    Jana    ODS     TOT 

I tried it, but my scripts are not giving the exact outputs. Need your help in solving this.


Category: perl Time: 2016-07-28 Views: 0
Tags: perl

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development


Front-end development


development tools

Open Platform

Javascript development

.NET development

cloud computing


Copyright (C) avrocks.com, All Rights Reserved.

processed in 0.122 (s). 12 q(s)