L
lis0122
I have a field in a table that has data in this general format
AAAA_BB_CCC_DECLINE
AAAA_BBBB_CC_CONTACT
AAA_BB_CCC_DECLINE
etc
The A's, B's and C's are always different character lengths, but the
string always ends in either "_DECLINE" or "_CONTACT" (the last 8
characters).
How do I write a query using Right(), Left(), or Instr() functions to
parse out the last 8 characters and return what's left (eg AAAA_B_CCC)?
I keep playing around with this and I feel like I'm getting so close
but I just can't figure it out.
Thanks,
Lisa
AAAA_BB_CCC_DECLINE
AAAA_BBBB_CC_CONTACT
AAA_BB_CCC_DECLINE
etc
The A's, B's and C's are always different character lengths, but the
string always ends in either "_DECLINE" or "_CONTACT" (the last 8
characters).
How do I write a query using Right(), Left(), or Instr() functions to
parse out the last 8 characters and return what's left (eg AAAA_B_CCC)?
I keep playing around with this and I feel like I'm getting so close
but I just can't figure it out.
Thanks,
Lisa