AI Zone Admin Forum Add your forum

NEWS: survey on 3000 US and UK consumers shows it is time for chatbot integration in customer service!read more..

Getting string from user

When I tried to get input from user, it saves input without ! mark.

I tried to get user inputs with this rule

u: (_*) Input is ‘_0

When user write hello!

It just printed out hello without exclamation mark..

How can I solve this problem

plz help me !!


  [ # 1 ]

Exclamation marks, like question marks and periods (full stops) are stripped because they are the sentence terminator.

If you look at the output from a :prepare you can see that a token flag is set to indicate whether any of those characters is found, and you can test for them in script by using %tokenflags


  login or register to react