Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to identify Enter key in URL?

I am making an android Application in this URL is passing with the user define message.

My URL is:

URL for fetching message

My problem is: When user press space at that time the space can be Identified by Space="%20" but what to do when user press enter key?

Is there any way to identify that user had pressed enter key in URL.

Thank you.

like image 526
Luckyy Nickey Avatar asked Nov 25 '25 16:11

Luckyy Nickey


1 Answers

You can identify as

Enter or NewLine = %0A or %0D or %0D%0A

like image 158
Himanshu Joshi Avatar answered Nov 28 '25 08:11

Himanshu Joshi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!