I am looking for the right function(s) to trim a constant number of leading and trailing characters off of a text field of varying length.
Example:
I start with these strings:
123_abcdefg_789
456_zyxwvu_987
I want these results:
abcdefg
zyxwvu
I can get the first four characters off using a mid function; however, it's the trailing characters that are giving me fits.
Any ideas?
Example:
I start with these strings:
123_abcdefg_789
456_zyxwvu_987
I want these results:
abcdefg
zyxwvu
I can get the first four characters off using a mid function; however, it's the trailing characters that are giving me fits.
Any ideas?