Interviewer And Interviewee Guide

PHP Interview Question:

How To Get the Number of Characters in a String?

Submitted by: Administrator
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

Submitted by: Administrator

Read Online PHP Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.