| jeff@sum-it.com 2006-07-20, 6:55 pm |
| Thank you!
James J. Gavan wrote:
> jeff@sum-it.com wrote:
>
> You used the term "char-array" - a bit unusual in COBOL. Are you using
> Net Express ? As an adaptation of what Donald suggested there is an OO
> Class that will let you split the name :-
>
> Jean Baptiste de la Salle (Jean Baptiste is the 'first name').
>
> The OO technique will give you a collection of FIVE elements for the
> above - it drops ALL intervening spaces, which you can STRING back
> together again, introducing SINGLE spaces in between. But how you figure
> first name = 'Jean Baptiste' and last name = 'de la Salle' - you are on
> your own :-). It's the same probem Howard quoted above "Jr" and "Gomez y
> Jones".
>
> If it *is* Net Express I can post an example of the code - but you would
> have to figure out first and last names.
>
> Jimmy
|