Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: andycooperOriginally posted by: Gordon Docherty
Andy,
the assumption here is that the desired text is 2 characters at the start of the second string.
if working with the following,
Data 1
Col1
1
2
3
4
5
Data 2
01
20
123
4
6
what method is recomended?
rgds Gordon
For some reason, Gordon's post does not appear on the thread!
Anyway, in the scenario he describes, I would suggest that you first use a data analyser node to evaluate the length of each field (I suggest you also turn off data conversion as we want the data fields to be string intially). Using the pad command we can then set all values to the same length before joining the data. This can be done in the X-Ref node or in a seperate filter node. Please find an example below of both options: -
Pad Data.brg