bool isAlpha() - JanKulbaga/String-CPP GitHub Wiki
bool isAlpha()
Checks whether all the characters in a string are alphabet letters.
Example
#include "src/String.h"
int main()
{
String s = "Hello";
String s1 = "Hello World";
s.isAlpha(); // gives value 1
s1.isAlpha(); // gives value 0
return 0;
}
Parameters
None
Return value
Returns true if all the characters are alphabet letters, otherwise false