Separate the house number from the street name: Difference between revisions

m
J: additional labelling
m (J: (stylistic change) add J's prompt (three spaces) to left of invocation line in example)
m (J: additional labelling)
Line 46:
'''Solution''' (''regex''):<lang j> require'regex'
din5008 =: split~ [: {.@, '\d'&rxmatch</lang>
 
Sample data (works withe either of the above implementations):
 
<lang j> sampledata=: ];._2 noun define
6,962

edits