Do you mean this: define a char*10 = 'ABCDEFGHIJ' define b char*10 = 'ABCDEFGHIJ' define c num = index(b[1:5],a[2:3]) report all Darren Leonard_Berkowitz@harvardpilgrim.org wrote: > > (Powerhouse 8.19C on the HP3000) > > I need to determine whether a substring in data item A exists as a > substring in data item B. I am familiar with: > > IF 0 < INDEX (data item B, substring)