I am creating a login and want to allow my users to login either by username or email. How would I check if a string contains a letter, in this case @ so I can handle it correctly. Would I use strstr
or strpos
? Thanks!
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…