Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have data something like keerthi(3222).
I need to display Keerthi and 3222 separately.
Please help me with this
Thanks,
Keerthi KS
If the field is called Input:
SubField(Input,'(', 1) gives Keerthi
TextBetween(Input, '(', ')') gives 3222
Hi
Try like this
SubField('keerthi(3222)','(',1)
SubField(FieldName,'(',1)
TextBetween('keerthi(3222)','(',')')
TextBetween(FieldName,'(',')')
Hi,
There is various ways to acheive it.
one way is already suggested by Ralf
another can be
Purgechar(fieldName,'()0123456789') as field1
KeepChar(Purgechar(fieldName,'()'),'0123456789') as field2
Regards
Hi,
You can use SubField() and TextBetween() for this, do this in script for better performance
SubField('keerthi(3222)','(',1)
TextBetween('keerthi(3222)','(',')')
Hope this helps you.
Regards,
Jagan.
Hi Jagan,
I have Fiscal Year 2015-16 which should be displayed as a Label for some amount.
There are other Fiscal Years like 2010-11, 2011-12 etc.
By default it should display the latest Fiscal Year i.e 2015-16
What if my data is something like Keerthi (Raj) & Kumar (Raj) (2345)
I need to display Keerthi (Raj) & Kumar (Raj) and 2345.
Basically at the there is a number within ( ). I need only that sepaartely
Hi,
Try
max(Fiscal_Year)
Regards
I tried with Max it shows '-'. Because Fiscal year is something like 2015-16 not a number
try maxstring(Fiscal_Year)