PHP Scripts Development » General Web Development Forum

insert problem

(2 posts)
  • Started 2 months ago by bharanikumarphp
  • Latest reply from Olaf

Great offers not only for geeks!


  1. bharanikumarphp

    bharanikumarphp
    Member

    hi dear

    i want to insert the special character word <--break--> ,

    every 100 character between..

    example

    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's <--break-->standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. <--break-->It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.<--break--> It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently<--break--> with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum

    like this

    Posted 2 months ago #
  2. Hi,

    do you tried

    $newtext = wordwrap($text, 100, "<--break-->");
    Posted 2 months ago #

RSS feed for this topic

Reply

You must log in to post.