cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ericonline
Level 10

String Manipulation Help

Hello,

I'm trying to figure out how to do the following: 

Given: "123 W. Main Street"

Split: by " "

Substitute: Each " " for "+"

Concatenate: "123+W.+Main+Street"

I thought using a combination of Concatenate(Substitute(Split())) would be the answer, but I can't seem to find the right combination. 
Any leads?
Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: String Manipulation Help

Hi @ericonline

Unless I misunderstand, you can just use the substitute function like so:

Substitute("123 W. Main Street", " ","+")

image.png

3 REPLIES 3
Super User
Super User

Re: String Manipulation Help

Hi @ericonline

Unless I misunderstand, you can just use the substitute function like so:

Substitute("123 W. Main Street", " ","+")

image.png

ericonline
Level 10

Re: String Manipulation Help

Oh My ! That was simple @timl ! Thanks mayne. 
For those who want a quick way to look up addresses using Google Maps!: 
OnSelect: Of a Gallery Text box with an address in it: 

Launch("https://www.google.com/maps/search/" & 
    Substitute(ThisItem.Address," ", "+"))

Thanks @timl. With our powers combined!!!

Super User
Super User

Re: String Manipulation Help

WOW, what an amazing use for the Substitute function! Thanks for sharing!