 |
| Hinweise |
Willkommen im TP-Hilfe-Forum!Dies ist ein Forum zu den Themen Photoshop, Dreamweaver, Flash, Selbständigkeit und mehr, in dem Du Hilfe, Anleitung oder eine Lösung zu Deinen Problemen erhältst. Aktuell bist Du in unseren Foren als Gast mit reinen Leserechten unterwegs. Wenn Du Dich registrierst, kannst Du eigene Themen verfassen, Deine Frage stellen und privat mit anderen TPlern kommunizieren. Weitere Foren werden zugänglich, und Du wirst – falls gewünscht – per Mail über neue Beiträge informiert. Die Registrierung ist schnell und kostenlos. Sollten bei der Registrierung Fragen auftauchen, reicht ein Klick in unsere Hilfe - Häufig gestellte Fragen oder eine kurze Mitteilung an das Support-Team. Viel Spaß bei Traum-Projekt.com |
29.04.2003, 15:23
|
#1
|
|
TP-Veteran
Registriert seit: Jun 2001
Ort: Wien
|
Text kürzen
Hallo!
Ich stehr heute mal wieder komplett auf der Leitung!
Ich will einfach nur eine bestimmte Anzahl von Zeichen eines Strings ausgeben. Wenn der String länger ist wird der Rest abgeschnitten!
Ich hab das sicher schon 100mal gemacht, aber momentan komm ich einfach nicht drauf *peinlich* !!
Helft einem armen Trottel!!
lg
Flow
__________________
Lesser known Programming Languages #13: SLOBOL
... Although many compilers allow you to take a coffee break while they compile, SLOBOL compilers allow you to travel to Bolivia to pick the coffee. Forty-three programmers are known to have died of boredom sitting at their terminals while waiting for a SLOBOL program to compile. Weary SLOBOL programmers often turn to a related (but infinitely faster) language, COCAINE.
|
|
|
29.04.2003, 15:29
|
#2
|
|
TP-Greis
Registriert seit: Jun 2001
Ort: Bonn-Altstadt
|
|
|
|
29.04.2003, 15:36
|
#3
|
|
TP-Veteran
Registriert seit: Jun 2001
Ort: Wien
|
Die Erlösung!!!!!
Danke Dir!!!
lg
Flow
__________________
Lesser known Programming Languages #13: SLOBOL
... Although many compilers allow you to take a coffee break while they compile, SLOBOL compilers allow you to travel to Bolivia to pick the coffee. Forty-three programmers are known to have died of boredom sitting at their terminals while waiting for a SLOBOL program to compile. Weary SLOBOL programmers often turn to a related (but infinitely faster) language, COCAINE.
|
|
|
29.04.2003, 15:57
|
#4
|
|
TP-Veteran
Registriert seit: Jun 2001
Ort: Wien
|
Ähh, noch ne Frage:
Wie funktioniert es das mir der Text nicht mitten im Wort abgeschnitten wird?
lg
Flow
__________________
Lesser known Programming Languages #13: SLOBOL
... Although many compilers allow you to take a coffee break while they compile, SLOBOL compilers allow you to travel to Bolivia to pick the coffee. Forty-three programmers are known to have died of boredom sitting at their terminals while waiting for a SLOBOL program to compile. Weary SLOBOL programmers often turn to a related (but infinitely faster) language, COCAINE.
|
|
|
29.04.2003, 16:02
|
#5
|
|
TP-Greis
Registriert seit: Jun 2001
Ort: Bonn-Altstadt
|
__________________
Give up yourself into the moment — The time is now.
|
|
|
29.04.2003, 16:05
|
#6
|
|
TP-Veteran
Registriert seit: Jun 2001
Ort: Wien
|
Hab ich auch schon gefunden, das funktioniert aber irgendwie nicht!
__________________
Lesser known Programming Languages #13: SLOBOL
... Although many compilers allow you to take a coffee break while they compile, SLOBOL compilers allow you to travel to Bolivia to pick the coffee. Forty-three programmers are known to have died of boredom sitting at their terminals while waiting for a SLOBOL program to compile. Weary SLOBOL programmers often turn to a related (but infinitely faster) language, COCAINE.
|
|
|
29.04.2003, 16:08
|
#7
|
|
TP-Specialist
Registriert seit: Jan 2002
Ort: TP/Dynamik
|
function teaser ($text,$length)
{
$text = substr($text, 0, $length-1);
$text = substr($text, 0, strlen(strrchr($text,32))*(-1));
return $text;
}
__________________
Gehelft? Hier kannst du dich bedanken.
mike
|
|
|
29.04.2003, 16:21
|
#8
|
|
TP-Veteran
Registriert seit: Jun 2001
Ort: Wien
|
Super, funktioniert perfekt!
Danke!
lg
Flow
__________________
Lesser known Programming Languages #13: SLOBOL
... Although many compilers allow you to take a coffee break while they compile, SLOBOL compilers allow you to travel to Bolivia to pick the coffee. Forty-three programmers are known to have died of boredom sitting at their terminals while waiting for a SLOBOL program to compile. Weary SLOBOL programmers often turn to a related (but infinitely faster) language, COCAINE.
|
|
|
|
Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)
|
|
|
| Themen-Optionen |
Thema durchsuchen |
|
|
|
| Thema bewerten |
|
|
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.
HTML-Code ist aus.
|
|
|
Alle Zeitangaben in WEZ +2. Es ist jetzt 05:02 Uhr.
|
 |