+ Reply to Thread
Results 1 to 5 of 5

Thread: Replace spaces with +

  1. #1
    bucroiday
    Guest

    Replace spaces with +

    I need help would anybody no how to replace all the spaces within a sentence or phrase and replace them with using a code.



    thanks alot

    More:


  2. #2
    haimba
    Guest

    Hi,

    in wich language you want the code to be.

  3. #3
    hoanmeols
    Guest

    If possible id prefer php please.



    thanks alot

  4. #4
    thaonguyen307
    Guest


    php Code:



    $qry = "this is my test";
    $qry = trim($qry);
    $spremoved = str_replace(" ", " ",$qry);

    echo "$spremoved";

    ?>


+ Reply to Thread

Similar Threads

  1. I need a quick find/replace tool to replace adsense channels
    Please suggest one, has to do multiple lines, not just one line.
  2. Cant figure out the spaces.
    If you have a look at /img/googletop.gif ##ADSENSE CODE## /img/googlebottom.gif
  3. H1 and spaces
    I don't remember how to avoid the spaces before and after Header tags. Anybody to remind me? Thanks!
  4. URLs with spaces
    I help look after a site which is run on a contact management system. We used to have our menus without spaces between the words which I got...
  5. Spaces in the URL
    Is it bad to have spaces in the URL? I'm using a CMS and there's only so much I can do. Some of the URLs will have a space but in the URL appearing...

Visitors found this page by searching for:

Nobody landed on this page from a search engine, yet!

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Automatic Translations (Powered by Powered by Google):
Afrikaans Albanian Arabic Belarusian Bulgarian Catalan Chinese Croatian Czech Danish Dutch English Estonian Filipino Finnish French Galician German Greek Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Taiwanese Thai Turkish Ukrainian Vietnamese Welsh Yiddish