Quantcast
Channel: Data Preparation & Blending discussions
Viewing all articles
Browse latest Browse all 4999

Split string fields with spaces from the right

$
0
0

Hi all

 

I have a field which contains streetnames and housenumbers. I need to put the house numbers into a sperate field.

Unfortunately sometimes the streets have 2 words with a space in between. So my thoughts are to start the split from the right side and not from the left. Because the house number is everytime after the last space (from left) or before the first space (from the right).

 

Example:

 

Hillstreet 2

Upper Hillstreet 234

Very Up Hillstreet 66a

Top of Hillstreet 667

...

Is there a formula or a regex possible to split the housenumber based on the space before ?

 

Many thx in advance

 

Steffen


Viewing all articles
Browse latest Browse all 4999

Trending Articles