Cadenes (Strings)

Un cadena o string és una seqüència de caràcters.

PHP String Functions

The PHP strlen() function returns the length of a string.

  <?php
    echo strlen("Hello world!"); // outputs 12
  ?>

Provar l'exemple

Més informació

#FpInfor #DawMp07Uf01 #DawMp07Uf02 #DawMp07Uf03 #PHP

#FpInfor #AsixMp09Uf01 #PHP

Autor: Sergi Coll

Modificat: 18/12/2018

results matching ""

    No results matching ""