Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
How To Get the Number of Characters in a String
How To Get the Number of Characters in a String? - PHP Script Tips - PHP Built-in Functions for Strings
✍: FYIcenter.com
You can use the "strlen()" function to get the number of characters in a string. Here is a PHP script example of strlen():
<?php
print(strlen('It\'s Friday!'));
?>
This script will print:
12
2007-04-22, 5145👍, 0💬
Popular Posts:
Enable ASP.NET polling using “web.config” file Now that all our database side is configured in order...
What will be printed as the result of the operation below: main() { int x=5; printf("%d,%d,%d\n",x,x. ..
Explain all parts of a deployment diagram? Package: It logically groups element of a UML model. Node...
Write down the equivalent pointer expression for referring the same element a[i][j][k][l]? a[i] == *...
What are the types of variables x, y, y and u defined in the following code? #define Atype int* type...