Splitting name into title, forename, surname
Posted: Mon Apr 10, 2006 3:35 am
Hi,
I've probably posting something that is a fairly common problem, unfortunately the posts I've searched on have only really solved it for strings in a consistent format. We have a fullname field that needs to be split into title, forename/initials and surname fields. The problem is that the fullname field contains a variety of name formats
e.g.
Mr Edward Smith
D Jones
Miss F G H Underhill
Peter Morrison
T.D. Watson
etc.
Obviously using Field and defining space as a delimiter is not going to work effectively for this and Datastage itself is possibly unsuitable. Is there some code that someone has devised for this scenario...or should I be looking at QualityStage?
Thanks in advance,
Alex
I've probably posting something that is a fairly common problem, unfortunately the posts I've searched on have only really solved it for strings in a consistent format. We have a fullname field that needs to be split into title, forename/initials and surname fields. The problem is that the fullname field contains a variety of name formats
e.g.
Mr Edward Smith
D Jones
Miss F G H Underhill
Peter Morrison
T.D. Watson
etc.
Obviously using Field and defining space as a delimiter is not going to work effectively for this and Datastage itself is possibly unsuitable. Is there some code that someone has devised for this scenario...or should I be looking at QualityStage?
Thanks in advance,
Alex