⊗ppPmSFLn 148 of 447 menu

String Length in PHP

strlen mb_strlen

Given a string:

<?php $str = 'abcde'; ?>

Find the number of characters in this string.

Given a string:

<?php $str = 'привет'; ?>

Find the number of characters in this string.

Given a variable $password, which stores the user's password. If the number of password characters is greater than 5 and less than 10, then output a message to the user that the password is suitable, otherwise a message that they need to come up with a different password.

English
AfrikaansAzərbaycanБългарскиবাংলাБеларускаяČeštinaDanskDeutschΕλληνικάEspañolEestiSuomiFrançaisहिन्दीMagyarՀայերենIndonesiaItaliano日本語ქართულიҚазақ한국어КыргызчаLietuviųLatviešuМакедонскиMelayuမြန်မာNederlandsNorskPolskiPortuguêsRomânăРусскийසිංහලSlovenčinaSlovenščinaShqipСрпскиSrpskiSvenskaKiswahiliТоҷикӣไทยTürkmenTürkçeЎзбекOʻzbekTiếng Việt
We use cookies for website operation, analytics, and personalization. Data processing is carried out in accordance with the Privacy Policy.
accept all customize decline