Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Inserting + for a space

Participant ,
Sep 19, 2008 Sep 19, 2008
Some sites have terrible formatting requirements for pulling feeds. For example, a site I'm trying to pull a feed from requires a plus sign in place of a space. For example, I'm trying to pull a feed based on the keyword (or phrase) Cache La Poudre. The feed makes me request it like this Cache+La+Poudre. Is there a way to take a query result and insert a plus sign wherever there is a space in the string?
286
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Sep 19, 2008 Sep 19, 2008
That can be done very easily using the Replace function. Something like:

Replace("Cache La Poudre"," ","+","All")

That first parameter can be a variable too. Like:

Replace(QueryResultField," ","+","All")
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Sep 19, 2008 Sep 19, 2008
LATEST
Love it when I get answers quickly and see the word "easily".

Thanks. I just realized I can make my search results a little more refined based on this function.

Thanks again.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources