Parse text

Stimulsoft Reports.NET discussion
Post Reply
lordjohnny
Posts: 1
Joined: Fri Aug 04, 2017 7:57 am

Parse text

Post by lordjohnny »

Hi. I need some help

i have text string in "{tb1.product_name}". This variable contains "Some text here | Talla:40,Color:Green" I need print only the number between ":" and ",".

With same variable, i need print only all the text before "|".

how i can do it?
Thanks u
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Parse text

Post by HighAley »

Hello.

You could use any C# or VB.NET expression in the report.
Please, select necessary language with the Report language property of the report.
Put the whole expression in {}.

Thank you.
Post Reply