NightDev Community Forums

Querystring split


now i already can encode search parameter with $(querystring)

$(eval var x="$(query)".split("&"),y="$(querystring))",a=($(urlfetch json$(querystring)));{y})

but now i want add a mode_parameter behind search_parameter
for example: ab&fullmode=1

ab is search_parameter that i want encodeing with $(querystring)
&fullmode=1 is mode_parameter that i don’t want encode

so how do that?

Output $(querystring $(1)) with %20

I am a bit confused on what you are trying to do?
You can use $(querystring) to urlencode all arguments after a command, however you can urlencode them separately by using for example $(querystring $(1)) this will return only the first argument urlencoded.

See for more info.

closed #3

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.