I am forming a tag like this
"<a href=instruction=name,value=" + sParameter +">"</a>"
But i am expecting some text separated by space Like “Test – Text” in place of sParameter. When a word like this is coming in place of sParameter its displaying the first part means before “-“(hyphan). But when i am getting a word like “Test-Text” its dispalying full word correctly. Can anyone help me in displaying this type of words( “Test – Text”).
Change space to URLEncoded equivalent (which is %20).
Meaning, sParameter =
Test%20-%20Text