December 6th, 2012, 01:38 PM
Join Date: May 2012
Location: 39N 104.28W
Time spent in forums: 1 Day 13 h 39 m 14 sec
Reputation Power: 2
Originally Posted by PTIM
Hello, i new in this forum and i happy to join here !
I want to ask you some questions please:
1) How can i check if string had only letters ?
2) How can i check if string has only numbers ?
3) How can i check if string is good mail ?
4) If i want to built a little program that delete all the files from
the computer, you recommend me to programing this program
in Python, or in other language ?
Thanks you .
3. I'm not sure what is "good" but if you want to see if there's an "@" and it's not the first or last character: "@" in <string>[1:-2]
4. depending on the operating system, it's probably simpler in the native script (DOS, BASH, etc.)