Percent encoding javascript

后端 未结 4 2007
挽巷
挽巷 2021-02-02 10:55

Is there a javascript function that takes a string and converts it into another string that is percent-encoded? That way something like \"This Guy\" turns into \"This%20Guy\".

4条回答
提交回复
热议问题