Page 1 of 1

Field Function

Posted: Mon Jul 25, 2005 2:59 pm
by sri75
Hi ,

my input data is like this sri@peoplesoft.com
Output shoud be like this peoplesoft.com
I used field(inputcolumn,"@",1,1)
But it is giving sri not peoplesoft.com

Can you please help me

Thanks

Posted: Mon Jul 25, 2005 3:20 pm
by srividhya
Hai sri
Use in this , it works for me
Field(inputstring, "@", DCount(inputstring,"@" ), 1)

Sri

Posted: Mon Jul 25, 2005 3:27 pm
by pnchowdary
Hi Sri,

There is a small error in your field transformation. The correct tranformation to achieve your output is

Code: Select all

Field(inputcolumn,"@",2,1) 

Posted: Tue Jul 26, 2005 3:01 am
by Sainath.Srinivasan
or simply

Code: Select all

Field(YourMailId, '@', 2)