What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-03-16 14:45:18
stackable in amcharts 3
<!-- Styles --> <style> body { background-color: #3f3e3b; color: #fff; } #chartdiv { width: 100%; height: 500px; } </style> <!-- Resources --> <script src="https://www.amcharts.com/lib/3/amcharts.js"></scrip... Add solution -
C++ 2022-02-01 05:20:14
string c++ if letter or number
#include<stdio.h> #include<ctype.h> int main() { char val1 = 's'; char val2 = '8'; if(isalpha(val1)) printf("The character is an alphabet\n"); else print... Add solution -
C++ 2022-01-27 19:55:27
check alphabet c++
isalpha(character) - Check if character is alphabetic Add solution -
TypeScript 2022-01-22 03:31:25
how to separate a string into 2 lists of numbers and letters python
stringtosplit = 'hello75world' letters = [] numbers = [] for k in stringtosplit: if k.isalpha() == True: letters.append(k) elif k.isdigit() == True: numbers.append(k) letters = ''.join(letters) numbers = ''.join(numbers) print(numb... Add solution -
Java 2021-11-14 04:06:17
how to check if a string contains only alphabets and space in java
class IsAlpha { public static boolean isAlpha(String s) { if (s == null) { return false; &nbs... Add solution -
Python 2021-10-22 20:34:09
string validators hackerrank solution
if __name__ == '__main__': s = input() print(any(i.isalnum() for i in s)) print(any(i.isalpha() for i in s)) print(any(i.isdigit() for i in s)) print(any(i.islower() for i in s)) print(any(i.isupper() for i in s)) #The any() funct... Add solution