+ 2
How can use program to count the letters in praghragh
by java , c++,c,python or another language
3 Respostas
+ 2
yes you can that by use the program below by java
https://code.sololearn.com/cXZnR8Z5eOxX/?ref=app
+ 1
<?php
$str='Hello World';
$str = preg_replace("/[^A-Za-z]/" , " ", $str);
echo $str; //HelloWorld
echo strlen($str); //10
?>
The above regex replaces all numbers, symbols & spaces.
It will allow only alphabets A-Z and a-z.
0
3 versions in Python
https://code.sololearn.com/c3aKrva9TYQ4/?ref=app