Split Text Block into Paragraphs

Ask a Question related to PHP Development, Design and Development.

  1. #1

    Default Split Text Block into Paragraphs

    I have this large text block, but I would like to split it into
    smaller ones by a number of characters. It needs to _split at whole
    words_, and not just randomly in the middle of a word.

    What's the best way to do this?

    Thanks in advance.
    sk89q Guest

  2. Similar Questions and Discussions

    1. Bold and Paragraphs in Dynamic Text
      I have got really long resouce/product descriptions that I need on a product detail page - the database is access and the scripting is asp - and the...
    2. how to split continuous text in a variable into two text-variables...?
      Hi, i have a little problem. i need to split a continuous text-variable into two text-variables but in whole words! so i can show these two...
    3. Centering text vertically in a text block
      I just bought Freehand MX 11 for Mac OS X and from using it back in the mid 1990s I could have sworn you could center text vertically in a text...
    4. Missing text (flush right text block) upon export to pdf
      I was aghast today to see and ad in the local paper (that I worked on and got client approval for) missing text at bottom of ad. I am using FH 10 in...
    5. Split text into two columns
      Hi I want to be able to split the contents of a text field into two or maybe three columns. The text field contains text AND HTML mark-up. My...
  3. #2

    Default Re: Split Text Block into Paragraphs

    sk89q écrivit:
    > I have this large text block, but I would like to split it into
    > smaller ones by a number of characters. It needs to _split at whole
    > words_, and not just randomly in the middle of a word.
    >
    > What's the best way to do this?

    R

    O

    T

    F

    M



    P'tit Marcel Guest

  4. #3

    Default Re: Split Text Block into Paragraphs

    Rob écrivit:
    > A helpful response there P'tit, excellent use of your time. If you'd
    > like to point him to the function in the 'FM' that does this then go
    > ahead.
    word_wrap, that you apparently fail to know as well...

    [url]http://fr.php.net/word_wrap[/url]


    --
    P'tit Marcel
    P'tit Marcel Guest

  5. #4

    Default Re: Split Text Block into Paragraphs


    "P'tit Marcel" <geononauxspams@centrale-lyon.org.invalid> wrote in message
    news:Xns93BED1740BCAbulgroz7@213.228.0.136...
    > Rob écrivit:
    >
    > > A helpful response there P'tit, excellent use of your time. If you'd
    > > like to point him to the function in the 'FM' that does this then go
    > > ahead.
    >
    > word_wrap, that you apparently fail to know as well...
    >
    > [url]http://fr.php.net/word_wrap[/url]
    >
    >
    > --
    > P'tit Marcel
    OK, I stand corrected. Still no need for your obnoxious reply when
    you could have simply said 'word_wrap'. You came through in the
    end, tho :-)

    Rob


    Rob Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139