Join Up!
104887 members and counting!

 
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links 
search for in the  
previouschopchunk_splitnext
Last updated: Tue, 29 Oct 2002
view the printer friendly version or the printer friendly version with notes or change language to Czech | Finnish | German

chr

(PHP 3, PHP 4 )

chr -- Devuelve un caracter específico

Descripción

string chr ( int ascii)

Devuelve una cadena de un caracter que congiene el caracter especificado por ascii.

Ejemplo 1. Ejemplo de chr()

$cad .= chr (27); /* añade un caracter de escape al final de $cad */

/* A veces esto es más útil */

$cad = sprintf ("La cadena termina en escape: %c", 27);
Esta función complementa a ord(). Vea también sprintf() con una cadena de formato %c.

User Contributed Notes
chr
add a note about notes
There are no user contributed notes for this page.
previouschopchunk_splitnext
Last updated: Tue, 29 Oct 2002
Copyright © 2001, 2002 The PHP Group
All rights reserved.
This mirror generously provided by: http://phpbuilder.com/
Last updated: Thu Oct 31 18:34:28 2002 EST