Splitting up a very long 'word' in a string

    Date: 05/21/07 (PHP Community)    Keywords: no keywords

    I'm familiar with wordwrap, but is there a similar function which will limit the size of a 'word'?   In other words, is there a built-in function which will turn this:

    asdfasdfasdfasdfsafsadfasdfasdfsadfasfsafsadfsadfsadfasfsafsafsafsafsadfsadfsadfsadfasfasfsdsdafsadfsadf

    into this:

    asdfasdfsafdsafdsafdsadfsdaf
    asdfasdfsadfsadfsadfsadfsdaf
    asdfasdfsadfsafsadfasfsadfsda
    saddfsadfsafsafsafsafsdfsadf

    Source: http://community.livejournal.com/php/567439.html

« PHP or Python? || permissions problem »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home