Hello!
I have a view like this:
function(doc) {
emit(doc.heim,null);
emit(doc.gast,null);
}
reduced like this:
function(keys, values) {
return true;
}
Giving me results like this:
"SG Stutensee" true
"SG Stutensee 2" true
"SG Stutensee 3" true
"SG Stutensee 4" true
What I want is:
reduce the results and cut off the last numbers at the end of the club
name (if any) when single and have a space before the number to get a
single result for a handball club (which actually shows all the teams
for a club)
Is there any way to get it done?
Kind regards,
Steffen