<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>css-schule.de &#187; PHP String-Variablen</title>
	<atom:link href="http://css-schule.de/category/php/php-string-variablen/feed" rel="self" type="application/rss+xml" />
	<link>http://css-schule.de</link>
	<description>Alles für den Webmaster.</description>
	<lastBuildDate>Sat, 14 Nov 2009 20:20:07 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>PHP String Funktionen</title>
		<link>http://css-schule.de/php-string-funktionen.html</link>
		<comments>http://css-schule.de/php-string-funktionen.html#comments</comments>
		<pubDate>Mon, 09 Nov 2009 16:40:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP String-Variablen]]></category>
		<category><![CDATA[PHP String Funktionen]]></category>

		<guid isPermaLink="false">http://css-schule.de/?p=144</guid>
		<description><![CDATA[PHP String Einführung
Die String-Funktionen ermöglichen es Ihnen, Strings zu manipulieren.

Installation
Die String-Funktionen gehören zum Grundbestand von PHP. Es ist keine Installation   notwendig, um diese Funktionen nutzen zu können.

PHP String-Funktionen
PHP: Zeigt die erste Version von PHP unterstützt, dass die     Funktion.



Funktion
Beschreibung
PHP


addcslashes ()
Gibt einen String mit einem Backslash vor der angegebenen   Zeichen
4


addslashes ()
Gibt [...]]]></description>
			<content:encoded><![CDATA[<h2>PHP String Einführung</h2>
<p>Die String-Funktionen ermöglichen es Ihnen, Strings zu manipulieren.</p>
<hr />
<h2>Installation</h2>
<p>Die String-Funktionen gehören zum Grundbestand von PHP. Es ist keine Installation   notwendig, um diese Funktionen nutzen zu können.</p>
<hr />
<h2>PHP String-Funktionen</h2>
<p><strong>PHP</strong>: Zeigt die erste Version von PHP unterstützt, dass die     Funktion.</p>
<table border="1" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<th width="38%" align="left" valign="top">Funktion</th>
<th width="57%" align="left" valign="top">Beschreibung</th>
<th width="5%" align="left" valign="top">PHP</th>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_addcslashes.asp">addcslashes ()</a></td>
<td valign="top">Gibt einen String mit einem Backslash vor der angegebenen   Zeichen</td>
<td valign="top">4</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_addslashes.asp">addslashes ()</a></td>
<td valign="top">Gibt einen String mit einem Backslash vor vordefinierten   Zeichen</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_bin2hex.asp">bin2hex ()</a></td>
<td valign="top">Konvertiert einen String von ASCII-Zeichen in Hexadezimal-Werte</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_chop.asp">chop ()</a></td>
<td valign="top">Alias von RTRIM ()</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_chr.asp">chr ()</a></td>
<td valign="top">Gibt ein Zeichen aus einer angegebenen ASCII-Wert</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_chunk_split.asp">chunk_split ()</a></td>
<td valign="top">Teilt eine Zeichenkette in eine Reihe von kleineren Teilen</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_convert_cyr_string.asp">convert_cyr_string ()</a></td>
<td valign="top">Konvertiert einen String von einem kyrillischen Zeichensatz-in einen anderen</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_convert_uudecode.asp">convert_uudecode ()</a></td>
<td valign="top">Dekodiert ein uuencoded string</td>
<td valign="top">5</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_convert_uuencode.asp">convert_uuencode ()</a></td>
<td valign="top">Kodiert einen String mit dem uuencode Algorithmus</td>
<td valign="top">5</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_count_chars.asp">count_chars ()</a></td>
<td valign="top">Versandkosten, wie oft ein ASCII-Zeichen innerhalb eines   String und gibt die Informationen</td>
<td valign="top">4</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_crc32.asp">crc32 ()</a></td>
<td valign="top">Zur Berechnung eines 32-Bit-CRC für eine Zeichenfolge</td>
<td valign="top">4</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_crypt.asp">crypt ()</a></td>
<td valign="top">One-way-String-Verschlüsselung (Hash)</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_echo.asp">echo ()</a></td>
<td valign="top">Ausgänge Strings</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_explode.asp">explode ()</a></td>
<td valign="top">Teilt eine Zeichenkette in ein Array</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_fprintf.asp">fprintf ()</a></td>
<td valign="top">Schreibt einen formatierten String in einer bestimmten Ausgabe-Stream</td>
<td valign="top">5</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_get_html_translation_table.asp">get_html_translation_table ()</a></td>
<td valign="top">Liefert die Übersetzung Tabelle verwendet, die von htmlspecialchars ()   und htmlentities ()</td>
<td valign="top">4</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_hebrev.asp">hebrev ()</a></td>
<td valign="top">Konvertiert hebräischen Text in sichtbaren Text</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_hebrevc.asp">hebrevc ()</a></td>
<td valign="top">Konvertiert hebräischen Text in sichtbaren Text und neue Zeilen (\ n) in   &lt;br /&gt;</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_html_entity_decode.asp">html_entity_decode ()</a></td>
<td valign="top">Konvertiert HTML-Entities, um Zeichen</td>
<td valign="top">4</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_htmlentities.asp">htmlentities ()</a></td>
<td valign="top">Wandelt Zeichen in HTML-Entities</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_htmlspecialchars_decode.asp">htmlspecialchars_decode ()</a></td>
<td valign="top">Konvertiert einige vordefinierte HTML-Entities, um Zeichen</td>
<td valign="top">5</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_htmlspecialchars.asp">htmlspecialchars ()</a></td>
<td valign="top">Konvertiert einige vordefinierte Zeichen in HTML-Entities</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_implode.asp">implode ()</a></td>
<td valign="top">Gibt einen String aus den Elementen eines Arrays</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_join.asp">join ()</a></td>
<td valign="top">Alias von implode ()</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_levenshtein.asp">levenshtein ()</a></td>
<td valign="top">Liefert die Levenshtein Distanz zwischen zwei Strings</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_localeconv.asp">localeconv ()</a></td>
<td valign="top">Gibt locale numerische und finanzielle Formatierungsinformationen</td>
<td valign="top">4</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_ltrim.asp">LTRIM ()</a></td>
<td valign="top">Strips Whitespace von der linken Seite einer Zeichenfolge</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_md5.asp">md5 ()</a></td>
<td valign="top">Berechnet den MD5-Hash eines Strings</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_md5_file.asp">md5_file ()</a></td>
<td valign="top">Berechnet den MD5-Hash einer Datei</td>
<td valign="top">4</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_metaphone.asp">metaphone ()</a></td>
<td valign="top">Berechnet die metaphone Schlüssel eines Strings</td>
<td valign="top">4</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_money_format.asp">money_format ()</a></td>
<td valign="top">Gibt einen String formatiert als Währung string</td>
<td valign="top">4</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_nl_langinfo.asp">nl_langinfo ()</a></td>
<td valign="top">Gibt spezifische lokale Informationen</td>
<td valign="top">4</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_nl2br.asp">nl2br ()</a></td>
<td valign="top">Fügt HTML-Zeilenumbrüche vor   eines jeden Zeilenumbruch in einem String</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_number_format.asp">number_format ()</a></td>
<td valign="top">Formatiert eine Zahl mit gruppierten Tausende</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_ord.asp">ord ()</a></td>
<td valign="top">Liefert den ASCII-Wert des ersten Zeichens einer Zeichenkette</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_parse_str.asp">parse_str ()</a></td>
<td valign="top">Analysiert eine Abfrage String in Variable</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_print.asp">print ()</a></td>
<td valign="top">Gibt eine Zeichenfolge</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_printf.asp">printf ()</a></td>
<td valign="top">Gibt eine formatierte Zeichenkette</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_quoted_printable_decode.asp">quoted_printable_decode ()</a></td>
<td valign="top">Decodiert einen quoted-printable String</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_quotemeta.asp">quotemeta ()</a></td>
<td valign="top">Zitate Meta-Zeichen</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_rtrim.asp">RTRIM ()</a></td>
<td valign="top">Strips Whitespace von der rechten Seite einer Zeichenfolge</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_setlocale.asp">setlocale ()</a></td>
<td valign="top">Setzt Locale Informationen</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_sha1.asp">sha1 ()</a></td>
<td valign="top">Berechnet den SHA-1 Hash eines Strings</td>
<td valign="top">4</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_sha1_file.asp">sha1_file ()</a></td>
<td valign="top">Berechnet den SHA-1 Hash einer Datei</td>
<td valign="top">4</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_similar_text.asp">similar_text ()</a></td>
<td valign="top">Berechnet die Ähnlichkeit zweier Zeichenketten</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_soundex.asp">Soundex ()</a></td>
<td valign="top">Berechnet die Laut-Ähnlichkeit eines Strings</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_sprintf.asp">sprintf ()</a></td>
<td valign="top">Schreibt einen formatierten String in eine Variable</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_sscanf.asp">sscanf ()</a></td>
<td valign="top">Interpretiert den Input aus einem String nach einem Format</td>
<td valign="top">4</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_str_ireplace.asp">str_ireplace ()</a></td>
<td valign="top">Ersetzt werden einige Zeichen in ein   string (Groß-und Kleinschreibung)</td>
<td valign="top">5</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_str_pad.asp">str_pad ()</a></td>
<td valign="top">Pads eine Zeichenkette an die neue Länge</td>
<td valign="top">4</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_str_repeat.asp">str_repeat ()</a></td>
<td valign="top">Wiederholt einen String eine bestimmte Anzahl von Zeiten</td>
<td valign="top">4</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_str_replace.asp">str_replace ()</a></td>
<td valign="top">Ersetzt werden einige Zeichen in ein   string (Groß-und Kleinschreibung)</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_str_rot13.asp">str_rot13 ()</a></td>
<td valign="top">Führt die ROT13-Codierung auf einer Schnur</td>
<td valign="top">4</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_str_shuffle.asp">str_shuffle ()</a></td>
<td valign="top">Zufällig mischt alle Zeichen in einem String</td>
<td valign="top">4</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_str_split.asp">str_split ()</a></td>
<td valign="top">Zerlegt einen String in ein Array</td>
<td valign="top">5</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_str_word_count.asp">str_word_count ()</a></td>
<td valign="top">Zählt die Anzahl der Wörter in einem String</td>
<td valign="top">4</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_strcasecmp.asp">strcasecmp ()</a></td>
<td valign="top">Vergleicht zwei Zeichenketten (Groß-und Kleinschreibung)</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_strchr.asp">strchr ()</a></td>
<td valign="top">Sucht das erste Vorkommen eines Strings innerhalb eines anderen   string (Alias von strstr ())</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_strcmp.asp">strcmp ()</a></td>
<td valign="top">Vergleicht zwei Zeichenketten (Groß-und Kleinschreibung)</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_strcoll.asp">strcoll ()</a></td>
<td valign="top">Locale-basierter String-Vergleich</td>
<td valign="top">4</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_strcspn.asp">strcspn ()</a></td>
<td valign="top">Liefert die Anzahl der Zeichen in einem String vor gefunden   einen Teil einiger angegebenen Zeichen gefunden</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_strip_tags.asp">strip_tags ()</a></td>
<td valign="top">Strips HTML-und PHP-Tags aus einer Zeichenkette</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_stripcslashes.asp">stripcslashes ()</a></td>
<td valign="top">Unquotes einen String zitiert mit addcslashes ()</td>
<td valign="top">4</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_stripslashes.asp">stripslashes ()</a></td>
<td valign="top">Unquotes einen String zitiert mit addslashes ()</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_stripos.asp">stripos ()</a></td>
<td valign="top">Gibt die Position des ersten Auftretens einer Zeichenfolge   innerhalb einer anderen Zeichenfolge (Groß-und Kleinschreibung)</td>
<td valign="top">5</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_stristr.asp">stristr ()</a></td>
<td valign="top">Sucht das erste Vorkommen eines Strings innerhalb eines anderen   string (Groß-und Kleinschreibung)</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_strlen.asp">strlen ()</a></td>
<td valign="top">Liefert die Länge eines Strings</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_strnatcasecmp.asp">strnatcasecmp ()</a></td>
<td valign="top">Vergleicht zwei Strings unter Verwendung einer &#8220;natürlichen Ordnung&#8221;   Algorithmus (Groß-und Kleinschreibung)</td>
<td valign="top">4</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_strnatcmp.asp">strnatcmp ()</a></td>
<td valign="top">Vergleicht zwei Strings unter Verwendung einer &#8220;natürlichen Ordnung&#8221;   Algorithmus (Groß-und Kleinschreibung)</td>
<td valign="top">4</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_strncasecmp.asp">strncasecmp ()</a></td>
<td valign="top">String-Vergleich des ersten   n Zeichen (Groß-und Kleinschreibung)</td>
<td valign="top">4</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_strncmp.asp">strncmp ()</a></td>
<td valign="top">String-Vergleich des ersten   n Zeichen (Groß-und Kleinschreibung)</td>
<td valign="top">4</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_strpbrk.asp">strpbrk ()</a></td>
<td valign="top">Sucht eine Zeichenfolge für eine aus einer Reihe von Zeichen</td>
<td valign="top">5</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_strpos.asp">strpos ()</a></td>
<td valign="top">Gibt die Position des ersten Auftretens einer Zeichenfolge   innerhalb einer anderen Zeichenfolge (Groß-und Kleinschreibung)</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_strrchr.asp">strrchr ()</a></td>
<td valign="top">Findet das letzte Vorkommen einer Zeichenkette in einer anderen   string</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_strrev.asp">strrev ()</a></td>
<td valign="top">Kehrt einen String</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_strripos.asp">strripos ()</a></td>
<td valign="top">Findet die Position des letzten Auftretens einer   Zeichenfolge innerhalb einer anderen Zeichenfolge (Groß-und Kleinschreibung)</td>
<td valign="top">5</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_strrpos.asp">strrpos ()</a></td>
<td valign="top">Findet die Position des letzten Auftretens einer   Zeichenfolge innerhalb einer anderen Zeichenfolge (Groß-und Kleinschreibung)</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_strspn.asp">strspn ()</a></td>
<td valign="top">Liefert die Anzahl der Zeichen in einer Zeichenfolge gefunden, dass   enthält nur Zeichen aus einem bestimmten charlist</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_strstr.asp">strstr ()</a></td>
<td valign="top">Sucht das erste Vorkommen eines Strings innerhalb eines anderen   string (Groß-und Kleinschreibung)</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_strtok.asp">strtok ()</a></td>
<td valign="top">Zerlegt Zeichenkette in kleinere Strings</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_strtolower.asp">strtolower ()</a></td>
<td valign="top">Konvertiert einen String in Kleinbuchstaben</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_strtoupper.asp">strtoupper ()</a></td>
<td valign="top">Konvertiert einen String in Großbuchstaben</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_strtr.asp">strtr ()</a></td>
<td valign="top">Konvertiert bestimmte Zeichen in einem String</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_substr.asp">substr ()</a></td>
<td valign="top">Gibt einen Teil einer Zeichenkette</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_substr_compare.asp">substr_compare ()</a></td>
<td valign="top">Vergleicht zwei Zeichenketten aus einem bestimmten Startposition (binärfest   und gegebenenfalls Groß-und Kleinschreibung)</td>
<td valign="top">5</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_substr_count.asp">substr_count ()</a></td>
<td valign="top">Zählt die Anzahl, wie oft ein Teilstring tritt in einem String</td>
<td valign="top">4</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_substr_replace.asp">substr_replace ()</a></td>
<td valign="top">Ersetzt einen Teil einer Zeichenkette durch eine andere Zeichenfolge</td>
<td valign="top">4</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_trim.asp">trim ()</a></td>
<td valign="top">Strips Whitespace von beiden Seiten ein   string</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_ucfirst.asp">ucfirst ()</a></td>
<td valign="top">Wandelt das erste Zeichen einer Zeichenfolge in Großbuchstaben</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_ucwords.asp">ucwords ()</a></td>
<td valign="top">Wandelt den ersten Buchstaben eines Wortes in einem String in Großbuchstaben</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_vfprintf.asp">vfprintf ()</a></td>
<td valign="top">Schreibt einen formatierten String in einer bestimmten Ausgabe-Stream</td>
<td valign="top">5</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_vprintf.asp">vprintf ()</a></td>
<td valign="top">Gibt eine formatierte Zeichenkette</td>
<td valign="top">4</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_vsprintf.asp">vsprintf ()</a></td>
<td valign="top">Schreibt einen formatierten String in eine Variable</td>
<td valign="top">4</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/php/func_string_wordwrap.asp">wordwrap ()</a></td>
<td valign="top">Bricht eine Zeichenkette an einer bestimmten Anzahl von Zeichen</td>
<td valign="top">4</td>
</tr>
</tbody>
</table>
<hr />
<h2>PHP String-Konstanten</h2>
<p><strong>PHP</strong>: Zeigt die erste Version von PHP unterstützt, dass die     konstant.</p>
<table border="1" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<th width="38%" align="left">Constant</th>
<th width="57%" align="left">Beschreibung</th>
<th width="5%" align="left">PHP</th>
</tr>
<tr>
<td valign="top">CRYPT_SALT_LENGTH</td>
<td valign="top">Enthält die Länge der Standard-Verschlüsselungsverfahren für   der<br />
System. Für Standard-DES-Verschlüsselung ist die Länge 2</td>
<td valign="top"></td>
</tr>
<tr>
<td valign="top">CRYPT_STD_DES</td>
<td valign="top">Auf 1 gesetzt, wenn die Standard-DES-Verschlüsselung mit einem 2   Zeichen-Salt unterstützt wird, sonst 0</td>
<td valign="top"></td>
</tr>
<tr>
<td valign="top">CRYPT_EXT_DES</td>
<td valign="top">Set 1, wenn die erweiterte DES-Verschlüsselung mit einem 9   Zeichen-Salt unterstützt wird, sonst 0</td>
<td valign="top"></td>
</tr>
<tr>
<td valign="top">CRYPT_MD5</td>
<td valign="top">Auf 1 gesetzt, wenn der MD5-Verschlüsselung mit einem 12-Zeichen-Salt   beginnend mit $ 1 $ unterstützt wird, sonst 0</td>
<td valign="top"></td>
</tr>
<tr>
<td valign="top">CRYPT_BLOWFISH</td>
<td valign="top">Auf 1 gesetzt, wenn der Blowfish-Verschlüsselung mit 16 Zeichen   Salt, beginnend mit $ 2 $ oder $ 2a $ wird unterstützt, 0 otherwise0</td>
<td valign="top"></td>
</tr>
<tr>
<td valign="top">HTML_SPECIALCHARS</td>
<td valign="top"></td>
<td valign="top"></td>
</tr>
<tr>
<td valign="top">HTML_ENTITIES</td>
<td valign="top"></td>
<td valign="top"></td>
</tr>
<tr>
<td valign="top">ENT_COMPAT</td>
<td valign="top"></td>
<td valign="top"></td>
</tr>
<tr>
<td valign="top">ENT_QUOTES</td>
<td valign="top"></td>
<td valign="top"></td>
</tr>
<tr>
<td valign="top">ENT_NOQUOTES</td>
<td valign="top"></td>
<td valign="top"></td>
</tr>
<tr>
<td valign="top">CHAR_MAX</td>
<td valign="top"></td>
<td valign="top"></td>
</tr>
<tr>
<td valign="top">LC_CTYPE</td>
<td valign="top"></td>
<td valign="top"></td>
</tr>
<tr>
<td valign="top">LC_NUMERIC</td>
<td valign="top"></td>
<td valign="top"></td>
</tr>
<tr>
<td valign="top">LC_TIME</td>
<td valign="top"></td>
<td valign="top"></td>
</tr>
<tr>
<td valign="top">LC_COLLATE</td>
<td valign="top"></td>
<td valign="top"></td>
</tr>
<tr>
<td valign="top">LC_MONETARY</td>
<td valign="top"></td>
<td valign="top"></td>
</tr>
<tr>
<td valign="top">LC_ALL</td>
<td valign="top"></td>
<td valign="top"></td>
</tr>
<tr>
<td valign="top">LC_MESSAGES</td>
<td valign="top"></td>
<td valign="top"></td>
</tr>
<tr>
<td valign="top">STR_PAD_LEFT</td>
<td valign="top"></td>
<td valign="top"></td>
</tr>
<tr>
<td valign="top">STR_PAD_RIGHT</td>
<td valign="top"></td>
<td valign="top"></td>
</tr>
<tr>
<td valign="top">STR_PAD_BOTH</td>
<td valign="top"></td>
<td valign="top"></td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://css-schule.de/php-string-funktionen.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP String-Variablen</title>
		<link>http://css-schule.de/php-string-variablen.html</link>
		<comments>http://css-schule.de/php-string-variablen.html#comments</comments>
		<pubDate>Mon, 09 Nov 2009 16:38:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP String-Variablen]]></category>

		<guid isPermaLink="false">http://css-schule.de/?p=142</guid>
		<description><![CDATA[Eine String-Variable wird verwendet, um Text zu speichern und zu manipulieren.

String-Variablen in PHP
String-Variablen werden für Werte eingesetzt, die Zeichen enthält.
In diesem Kapitel werden wir auf die gebräuchlichsten Funktionen suchen   und Reiseveranstaltern genutzt, um Zeichenketten in PHP zu manipulieren.
Nachdem wir einen String, können wir es zu manipulieren. Ein String kann direkt verwendet werden  [...]]]></description>
			<content:encoded><![CDATA[<p>Eine String-Variable wird verwendet, um Text zu speichern und zu manipulieren.</p>
<hr />
<h2>String-Variablen in PHP</h2>
<p>String-Variablen werden für Werte eingesetzt, die Zeichen enthält.</p>
<p>In diesem Kapitel werden wir auf die gebräuchlichsten Funktionen suchen   und Reiseveranstaltern genutzt, um Zeichenketten in PHP zu manipulieren.</p>
<p>Nachdem wir einen String, können wir es zu manipulieren. Ein String kann direkt verwendet werden   in einer Funktion oder es kann in einer Variablen gespeichert werden.</p>
<p>Unten, weist das PHP-Skript den Text &#8220;Hallo Welt&#8221; in einen String Variable namens $ txt:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td><span style="color: #ff0000;">&lt;? php<br />
$ txt = &#8220;Hallo Welt&#8221;;<br />
echo $ txt;<br />
?&gt;</span></td>
</tr>
</tbody>
</table>
<p>Die Ausgabe des obigen Codes werden:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td>Hallo Welt</td>
</tr>
</tbody>
</table>
<p>Nun können versuchen, einige andere Funktionen und Operatoren verwenden, um die manipulieren   String.</p>
<hr />
<h2>Der Verkettungsoperator</h2>
<p>Es gibt nur einen String-Operator in PHP.</p>
<p>Die Verkettung Operator (.) Wird verwendet, um zwei String-Werte zusammengestellt.</p>
<p>Um zwei String-Variablen verkettet, verwenden Sie die Verbindungs-Operator:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td><span style="color: #ff0000;">&lt;? php<br />
$ txt1 = &#8220;Hallo Welt!&#8221;;<br />
$ txt2 = &#8220;What a nice day!&#8221;;<br />
echo $ txt1. &#8220;&#8221;. $ txt2;<br />
?&gt;</span></td>
</tr>
</tbody>
</table>
<p>Die Ausgabe des obigen Codes werden:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td>Hallo Welt! What a nice day!</td>
</tr>
</tbody>
</table>
<p>Wenn wir uns den Code anschauen sehen Sie, dass wir die Verkettung Betreiber eingesetzt   zwei mal. Dies liegt daran, mussten wir ein Drittel string (Leerzeichen), die beiden zu trennen einfügen   Strings.</p>
<hr />
<h2>Die strlen ()-Funktion</h2>
<p>Die strlen ()-Funktion wird verwendet, um die Länge eines Strings zurück.</p>
<p>Let&#8217;s find die Länge eines Strings:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td><span style="color: #ff0000;">&lt;? php<br />
echo strlen ( &#8220;Hallo Welt!&#8221;);<br />
?&gt;</span></td>
</tr>
</tbody>
</table>
<p>Die Ausgabe des obigen Codes werden:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td>12</td>
</tr>
</tbody>
</table>
<p>Die Länge eines Strings wird oft in Schleifen oder andere Funktionen verwendet, wenn es   wichtig zu wissen, wenn der String endet. (d. h. in einer Schleife, möchte wir aufhören   die Schleife nach dem letzten Zeichen in der Zeichenkette).</p>
<hr />
<h2>Die Funktion strpos ()</h2>
<p>Die Funktion strpos () wird verwendet, um Charakter innerhalb einer Suche   String.</p>
<p>Wird eine Übereinstimmung gefunden wird, gibt die Funktion die Position des   das erste Spiel. Wenn keine Übereinstimmung gefunden, wird FALSE zurückgegeben.</p>
<p>Mal sehen, ob wir die Sehne finden &#8220;Welt&#8221; in der Zeichenfolge:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td><span style="color: #ff0000;">&lt;? php<br />
echo strpos ( &#8220;Hallo Welt!&#8221;, &#8220;Welt&#8221;);<br />
?&gt;</span></td>
</tr>
</tbody>
</table>
<p>Die Ausgabe des obigen Codes werden:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td>6</td>
</tr>
</tbody>
</table>
<p>Die Position der Zeichenkette &#8220;Welt&#8221; in unserem String ist 6-Stellung.   Der Grund, dass es 6 (und nicht 7), ist, dass die erste Position in der Zeichenfolge ist   0, und nicht 1.</p>
<hr />
<h2>Complete String PHP Referenz</h2>
<p>Für eine vollständige Referenz aller String-Funktionen finden Sie auf unserer <a href="http://css-schule.de/php-string-funktionen.html" target="_self">komplette PHP String Reference.</a></p>
<p>Der Vorlagebeschluss enthält eine kurze Beschreibung und Beispiele der Nutzung für jeden   Funktion!</p>
]]></content:encoded>
			<wfw:commentRss>http://css-schule.de/php-string-variablen.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
