Hi,
I have the following problem:
I have in input a sequence of strings( I read from a file) and I need to replace the "dot" with a blank space or nothing depending from the following situations:
The replace has to be with nothing when the string is of this kind: a.a.a.a
and with blank space in this situation: aa.aa.aaa.
With single characters: nothing
With multiple characters: blank space
I'm in this situation: I should parse company names and sometimes the dot is used to concatenate parts of the name, company.of.new.york, and other times to abbreviate, s.a.
Can you, please, help me, it's very important??
Thanks
Luigi
I have the following problem:
I have in input a sequence of strings( I read from a file) and I need to replace the "dot" with a blank space or nothing depending from the following situations:
The replace has to be with nothing when the string is of this kind: a.a.a.a
and with blank space in this situation: aa.aa.aaa.
With single characters: nothing
With multiple characters: blank space
I'm in this situation: I should parse company names and sometimes the dot is used to concatenate parts of the name, company.of.new.york, and other times to abbreviate, s.a.
Can you, please, help me, it's very important??
Thanks
Luigi