Hi all,
I have a field that looks like:
OLD Structures
9782
, 69003
, , , , , , , , , , , , , , , , , , , 69812, 69880, 69831, 69832, , , , , , , , , , , , 69835
6730, 6731
91049, 91050
6738, 6630,
9800, , , , 62881
85807, 85808, 85809, 85810
5388,
and I want
OLD STRUCTURES
9782
69003
69812,69880,69831
69832,69835
6730,6731
91049,91050
6738,6630
9800,62881
85807,85808,85809,85810
5388
I'm trying to get rid of the unecessary commas & spaces in the beginning of the field and the end of the field.
I got close with Trim(replace(replace([OLD Structures]," ",""),",,,","")) but haven't nailed it down.
It's probably simpler than I'm making it out to be.
I have a field that looks like:
OLD Structures
9782
, 69003
, , , , , , , , , , , , , , , , , , , 69812, 69880, 69831, 69832, , , , , , , , , , , , 69835
6730, 6731
91049, 91050
6738, 6630,
9800, , , , 62881
85807, 85808, 85809, 85810
5388,
and I want
OLD STRUCTURES
9782
69003
69812,69880,69831
69832,69835
6730,6731
91049,91050
6738,6630
9800,62881
85807,85808,85809,85810
5388
I'm trying to get rid of the unecessary commas & spaces in the beginning of the field and the end of the field.
I got close with Trim(replace(replace([OLD Structures]," ",""),",,,","")) but haven't nailed it down.
It's probably simpler than I'm making it out to be.