I don't want to split rows where are names and where are "no data".
And other rows where the splits should be made have more spaces than
one.
Any idea how to make it?
John Maly
> I don't want to split rows where are names and where are "no data".
> And other rows where the splits should be made have more spaces than
> one.
> Any idea how to make it?
>
Well, the logic to determine what is a name and what is not is not buit
into any programming language. You have to define how to recognize whether
something is a name. If you can't do that, then no, it can't be done. If
you can do that, then...
You have to be sure that data items are clearly identifiable; that the
same character, or sets of characters, ALWAYS can be found between data
items. If you can do that, then it probably can be done.
If either of the above can't be defined, then no, it can't be done. If you
want me to give you sample code, then you MUST clearly define how these
things are recognized. The people in these groups are just like you: we
work for a living, our time is precious, we can't spend a lot of it trying
this/trying that until we figure out what you really mean.
If there's a language barrier (I get the feeling English isn't your first
language?), try stating the case in French or German, or ask in a group
specific for your language.
> > Can you rely on the fact that
> > - only rows containing spaces should be split
> > - that the only spaces in these row are where the splits should be
> > made?
Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister
http://www.word.mvps.org
This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)