here is my code so far:
select
f.matteridstring,
f.custom1,
l.itemtext
from contacts c, parties p, fileinfo f, listbox l
where
l.itemtext like 'Lemon Law%' and
c.contactid = p.contactid and
f.fileno = p.fileno and
f.filetype = l.id
when i run the query i get 3 columns....in the last column i get "Lemon Law" followed by the state abbreviation so it may read: Lemon Law (FL)
what i want to know is is it possible to parse this so it only returns the 12th and 13th characters so i only get the state back?
select
f.matteridstring,
f.custom1,
l.itemtext
from contacts c, parties p, fileinfo f, listbox l
where
l.itemtext like 'Lemon Law%' and
c.contactid = p.contactid and
f.fileno = p.fileno and
f.filetype = l.id
when i run the query i get 3 columns....in the last column i get "Lemon Law" followed by the state abbreviation so it may read: Lemon Law (FL)
what i want to know is is it possible to parse this so it only returns the 12th and 13th characters so i only get the state back?