Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Supress left two chars

Status
Not open for further replies.

ksaab2002

MIS
Jan 6, 2005
66
0
0
US
hello,

I have a variable lenghth string. I need to supress the left two characters (IT) if the left three are = ITC...otherwise I need just to show the field.

I am stuck on the syntax..any suggestions?

Thank you,
K
 
If Left({Table.Field}, 3) = "ITC" Then
Mid({Table.Field},3)
Else
{Table.Field}

-dave
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top