S
silva
I have imported text from a generated CSV file. However, in one field I have
two pieces of information that need to be seperated out separated by the
following delimiter: "-". The problem that I have is that there is no set
amount of characters before reaching the delimiter. I had planned to write a
pair of functions that would grab either the first or second piece of data
and call the function within a query, but I have no idea what methods could
be used in order to scope out that delimiter. I had been using Mid() for
something else, but the delimiter is always found in one of two places for
that field, so I don't think it would work in this case (unless there's a
function that'll return the character position value in a string). Any ideas?
two pieces of information that need to be seperated out separated by the
following delimiter: "-". The problem that I have is that there is no set
amount of characters before reaching the delimiter. I had planned to write a
pair of functions that would grab either the first or second piece of data
and call the function within a query, but I have no idea what methods could
be used in order to scope out that delimiter. I had been using Mid() for
something else, but the delimiter is always found in one of two places for
that field, so I don't think it would work in this case (unless there's a
function that'll return the character position value in a string). Any ideas?