★ wanayoo — archive 1999 http://www.php.net/manual/fr/function.strncasecmp.phpNouvelle recherche | Portail wanayoo

PHP Home Page

Manual Table of Contents
Up to Chaînes
Quick Reference
English version of this pageGerman version of this page is not availableJapanese version of this page
Italian version of this page is not availableFrench version of this pageHungarian version of this page is not available
Spanish version of this page is not availableDutch version of this page is not availableBrazilian Portuguese version of this page
Korean version of this pageCzech version of this page
Chaînes
* AddCSlashes
* AddSlashes
* bin2hex
* Chop
* Chr
* chunk_split
* convert_cyr_string
* count_chars
* crc32
* crypt
* echo
* explode
* get_html_translation_table
* get_meta_tags
* hebrev
* hebrevc
* htmlentities
* htmlspecialchars
* implode
* join
* levenshtein
* localeconv
* ltrim
* md5
* Metaphone
* nl2br
* Ord
* parse_str
* print
* printf
* quoted_printable_decode
* QuoteMeta
* rtrim
* sscanf
* setlocale
* similar_text
* soundex
* sprintf
* strncasecmp
* strcasecmp
* strchr
* strcmp
* strcoll
* strcspn
* strip_tags
* StripCSlashes
* StripSlashes
* stristr
* strlen
* strnatcmp
* strnatcasecmp
* strncmp
* str_pad
* strpos
* strrchr
* str_repeat
* strrev
* strrpos
* strspn
* strstr
* strtok
* strtolower
* strtoupper
* str_replace
* strtr
* substr
* substr_count
* substr_replace
* trim
* ucfirst
* ucwords
* wordwrap

  Thanks to:
 Chek.com
 easyDNS
 VA Linux Systems

  Related sites:
Apache
MySQL
PostgreSQL
Zend Tech.

  Community:
LinuxFund.org
OSDN
Manual: strncasecmp
View the source code for this pageSearch the site



Previous page
 sprintf
 Updated
Sun, 11 Feb 2001
strcasecmp 
Next page


strncasecmp

(PHP 4 >= 4.0.2)

strncasecmp --  Comparaison binaires de chaînes de caractères

Description

int strncasecmp (string str1, string str2, int len)

strncasecmp() est similaire à strcasecmp(), à la différence près qu'elle permet de limiter le nombre de caractères utilisés pour comparer str1 et str1, avec le paramètre len. Si une des chaînes est plus courte que len, alors la longueur de cette chaîne sera utilisée pour effectuer la comparaison.

strncasecmp() retourne < 0 si str1 est plus petit que str2; > 0 si str1 est plus grand que str2, et 0 si elles sont égales.

Voir aussi ereg(), strcasecmp(), strcmp(), substr(), stristr(), et strstr().


 About Notes


Previous page
 sprintf
 Updated
Sun, 11 Feb 2001
strcasecmp 
Next page





Who's responsible for this?
Top of this page

Site
Hosting:



Located in
United States
Elements of this website are subject to copyright.
Questions about installing or using PHP should be directed to one of the mailing lists.
Only questions about the website should be directed to webmaster@php.net.