AS3 Convert a Forward Slash to URLEncoded Character %2F

/ Published in: ActionScript 3
Save to your folder(s)

In AS2 forward slashes got url-encoded to %2F when you escaped them. But in AS3 they get ignored and left as they are. In some situations I have found that this can cause problems. So you can do it manually using this regular expression.

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.