Detecting only the first letter in a scanner
I made a course (Like it teaches and Tests Users Knowledge). And I just want to detect the first part of what they write. Like I made commands such as
/start
or /learn
. But if they add a space or adds anything. It won't be able to detect it using switch
. Is it possible to just detect the first part? Or the first letter? Because The Exams to answer the exam. You just put a letter like a, b, c, d. If they add a space it will say Unknown input.1 Reply
⌛
This post has been reserved for your question.
Hey @MDT 168! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose Post
button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.
💤
Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping
.
Warning: abusing this will result in moderative actions taken against you.