1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Removing parts from a string (includes a line break)

Discussion in 'PHP' started by nickharper, May 11, 2011.

  1. #1
    Hi guys,

    I am using ckeditor on a site which works great but it keeps putting the code like this:

        <p>
                Testing the RSS Feed out and the paragraphs.</p>
    
    Code (markup):
    The thing is, I need it to look like this:

        <p>Testing the RSS Feed out and the paragraphs.</p>
    
    Code (markup):
    How would I go about doing a string replace to simply just remove that little gap?

    Thanks
     
    nickharper, May 11, 2011 IP
  2. littlejohn199

    littlejohn199 Peon

    Messages:
    42
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    littlejohn199, May 11, 2011 IP