检查字符串$str
的第一个字母是否是a
,最后一个字母是否也是a
最简单的方法是什么?
I have a simple problem that says: A password for xyz corporation is supposed to be 6 characters long and made up of a combination of letters and digits. Write a program fragment to read in a string ...