substr
description
Returns the portion of string specified by the $start and $length parameters.
If $start is non-negative, the returned string will start at the $start'th position in $string, counting from zero. For instance, in the string 'abcdef', the character at position 0 is 'a', the character at position 2 is 'c', and so forth.
substr() gibt den Teil von $string zurück, der durch die Parameter $start und $length definiert wurde.
Wenn $start nicht negativ ist, beginnt der zurück gegebene String an der start-Position von $string, angefangen bei 0 (Null). So ist z.B. im String 'abcdef' das Zeichen an der Position 0 gleich 'a', das Zeichen an der Position 2 ist 'c' usw.
substr() devuelve la porción de $string especificada por los parámetros $start y $length.
Si $start es positivo o 0, la cadena devuelta comenzará en dicho carácter de cadena (los caracteres empiezan a contarse en cero). Por ejemplo, en la cadena 'abcdef', el carácter en la posición 0 es 'a', el carácter en la posición 2 es 'c', y así sucesivamente.
Retourne le segment de $string défini par $start et $length.
Retorna a parte de $string especificada pelo parâmetro $start e $length.
function call
string substr( string $string , int $start [, int $length ] )
test substr online
comments for substr
be the first
No comments so far for substr. Leave your's as first below.
