I have a string field with housenumber which contains values like:
housenumber |
---|
5 |
12 a |
15 b |
18 c |
What are the right expressions for the field calculator to write only the number in "field1"
and only the string in "field2"
:
field1 | field2 |
---|---|
5 | NULL |
12 | a |
15 | b |
18 | c |
I guess regular expressions. But how to implement it?