Ajax
ASP
C,C++
C#,.NET
CSS,HTML
Delphi,Kylix
Experience
Flash
Java
JavaScript
PHP
Python
QT
SQL
ShellScript
VB
U :
P :
Register
Lost Password
Other Links
Code Archive
Save Giovanni
PHP Category Code
Real Name
:
Erden
Subject
:
wordwrap
Description
:
cümleyi belirli sayıda harften sonra bir alt satıra indirir.
<?php $long_text = 'This is a long text to demonstrate the usage of the '; $long_text .= 'wordwrap function. '; $long_text .= 'Fooooooooooooooooobar, just fooling around'; // syntax: wordwrap(input string, line max. width, break chars, cut words) $new_text = wordwrap($long_text, 15, "<br/>\n", true); print $new_text; /* Ekran çıktısı This is a long<br/> text to<br/> demonstrate the<br/> usage of the<br/> wordwrap<br/> function.<br/> Foooooooooooooo<br/> ooobar, just<br/> fooling around */ ?>
Rating
:
0.00
(out of 5)
Visitor Voting Booth
:
Excellent
Very Good
Good
Fair
Poor
Copyright © 2006 SharingCode.NET . All rights reserved. Hosted By: SisNetworks