I'm passing an address from a webmap popup to a survey via url parameter, but there ends up being spaces added after the street name. After some investigation I found that the address field length is 20, and the survey question ends up with the street name + number of spaces equal to 20.
Here's the url parameter:
&field:address_webmap={StreetNumber} {ServiceStreet}, {Zip}

So "RED MILE RD " is passed from the url parameter to the survey rather than "RED MILE RD" with no spaces. I get the same results if I concatenate the address fields within the form.
How do I trim these spaces off the end and only pass the necessary number of characters?