S
Stevee
Hi all.
Apologies if this is a newbie question, but I am new!
I am reading in a string, splitting it into chunks on whitespace and
placing the values in an array which I then process further to match.
I am having problems because some of the matches are not working
because the chunking gives things like
"martin, "
or
"martin. "
i.e there is a comma or full stop as the end of the chunk.
Any ideas how to remove the punctuation before I put the values in the
array to match?
Thanks in advance.
Apologies if this is a newbie question, but I am new!
I am reading in a string, splitting it into chunks on whitespace and
placing the values in an array which I then process further to match.
I am having problems because some of the matches are not working
because the chunking gives things like
"martin, "
or
"martin. "
i.e there is a comma or full stop as the end of the chunk.
Any ideas how to remove the punctuation before I put the values in the
array to match?
Thanks in advance.