AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

[PHP] Zeilenumbrüche

Ein Thema von 3_of_8 · begonnen am 5. Nov 2005 · letzter Beitrag vom 20. Nov 2005
Antwort Antwort
Seite 3 von 3     123   
Benutzerbild von 3_of_8
3_of_8

Registriert seit: 22. Mär 2005
Ort: Dingolfing
4.129 Beiträge
 
Turbo Delphi für Win32
 
#21

Re: [PHP] Zeilenumbrüche

  Alt 20. Nov 2005, 10:44
Ich glaube, es geht jetzt mit einer anderen Lösung.
Manuel Eberl
„The trouble with having an open mind, of course, is that people will insist on coming along and trying to put things in it.“
- Terry Pratchett
  Mit Zitat antworten Zitat
tommie-lie
(Gast)

n/a Beiträge
 
#22

Re: [PHP] Zeilenumbrüche

  Alt 20. Nov 2005, 10:50
Zitat von 3_of_8:
Ich glaube, es geht jetzt mit einer anderen Lösung.
Lass mich raten: Du willst nicht verraten, mit welcher, stimmt's?
  Mit Zitat antworten Zitat
Benutzerbild von 3_of_8
3_of_8

Registriert seit: 22. Mär 2005
Ort: Dingolfing
4.129 Beiträge
 
Turbo Delphi für Win32
 
#23

Re: [PHP] Zeilenumbrüche

  Alt 20. Nov 2005, 10:54
Falsch. Kann ich schon. Im Forum war eine eingebaut, nur mein Chef hat sie falsch eingestellt.

function textwrap($post, $wrapwidth=0, $inpost=0) {
if($wrapwidth==0) $wrapwidth=$this->wrapwidth;
if($post) {
if($inpost==1) return preg_replace("/([^\n\r ?&\.\/<>\"\\-]{".$wrapwidth."})/i"," \\1\n",$post);
else return preg_replace("/([^\n\r -]{".$wrapwidth."})/i"," \\1\n",$post);
}
}

$wrapwidth war vorher auf 75 und ist jetzt auf 60.
Manuel Eberl
„The trouble with having an open mind, of course, is that people will insist on coming along and trying to put things in it.“
- Terry Pratchett
  Mit Zitat antworten Zitat
Antwort Antwort
Seite 3 von 3     123   


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 21:05 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz