Home
Designing Analytics Reports
Parse string and select specific text in the string
Migrateduser
<div>How to parse strings and selecting specific texts in strings in BIRT?</div>
<div> </div>
<div>I have to show only the text which is in [] with the following rules</div>
<div> </div>
<div>Rule:</div>
<div>1.Only the text in [] at the beginning and discard anything which is after </div>
<div> </div>
<div>2.If the text in [] is not found at the beginning but somewhere in the string replace the o/p to blank </div>
<div> </div>
<div>[ABC] HELLO WORLD [xyz] This is new</div>
<div> </div>
<div>Expected o/p:</div>
<div> </div>
<div>
</div>
<div>[ABC]</div>
<div> </div>
<div> </div>
<div> </div>
<div>HELLO WORLD [xyz] This is new</div>
<div> </div>
<div>Expected o/p:</div>
<div> </div>
<div>
</div>
<div>blank</div>
Find more posts tagged with
Comments
There are no comments yet