Answers for "word count in php"

PHP
0

word count in php

<?php
	echo str_word_count("Hello world!"); // outputs 2
?>
Posted by: Guest on October-14-2021

Browse Popular Code Answers by Language