Resources
Answers
Examples
Sign in
Get Started
What do you want to save?
Add Code snippet
New code examples
PHP
2022-01-30 13:01:03
php string length
<?php $str = 'abcdef'; echo strlen($str); // 6 $str = ' ab cd '; echo strlen($str); // 7 ?>
Add solution
Other
2022-01-23 00:45:39
strlen
<?php $str = 'abcdef'; echo strlen($str); // 6 $str = ' ab cd '; echo strlen($str); // 7 ?>
Add solution
PHP
2021-11-15 09:13:19
how to check php string length
<?php $str = 'abcdef'; echo strlen($str); // 6 $str = ' ab cd '; echo strlen($str); // 7 ?>
Add solution
PHP
2021-11-08 08:57:12
php nombre de caractère
<?php $str = 'abcdef'; echo strlen($str); // 6 $str = ' ab cd '; echo strlen($str); // 7 ?>
Add solution
PHP
2021-10-28 04:08:10
php mascara cep
function Mask($mask,$str){ $str = str_replace(" ","",$str); for($i=0;$i<strlen($str);$i++){ $mask[strpos($mask,"#")] = $str[$i]; } return $mask; } $cnpj = '17804682000198'; echo Mask("##.#...
Add solution
PHP
2021-10-24 03:17:09
membuat thumnnail upload php
<?php // membuat ukuran file upload dengan fungsi define define("MAX_SIZE", 800); // membuat ukuran width dan height menjadi 200 define("HEIGHT", 200); define...
Add solution
PHP
2021-10-04 19:10:03
php get string size
$str = "Hello Grepper!"; echo strlen($str); //echo 14
Add solution
Javascript
2021-08-27 13:00:01
length of string in javascript
<?php $str = 'abcdef'; echo strlen($str); // 6 $str = ' ab cd '; echo strlen($str); // 7 ?>
Add solution
Best helpers
daily
weekly
monthly
for 3 months
Albert Mayfield
+5
The Alpha
+5
Mikhail T.
+5
Glwday
+5
Phil H
+5
Malianto
+5
Bill Schanze
+5
Florian Castellane
+5
Rob Deary
+5
Colton Robert
+5
Anupheaus
+5
Haneefmubarak
+5
show more
This website uses cookies to make IQCode work for you. By using this site, you agree to our
cookie policy
Welcome Back!
Sign up to unlock all of IQCode features:
Test your skills and track progress
Engage in comprehensive interactive courses
Commit to daily skill-enhancing challenges
Solve practical, real-world issues
Share your insights and learnings
Sign in
E-mail
Password
Recover lost password
Log in
Or log in with
Not registered?
Sign up takes less than a minute
Create a Free Account
Sign up to unlock all of IQCode features:
Test your skills and track progress
Engage in comprehensive interactive courses
Commit to daily skill-enhancing challenges
Solve practical, real-world issues
Share your insights and learnings
Sign up
Email
Password
Sign up for free
Or sign up with
By signing up, you agree to the
Terms and Conditions
and
Privacy Policy
. You also agree to receive product-related marketing emails from IQCode, which you can unsubscribe from at any time.