We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Would it be possible to get hex encoding helper?
We have some search related features using your Handlebars Helpers and it would be great to use the hex encoding in our URL mechanism.
For example: "Analytics" would result in hex code "416e616c7974696373" "Encode - Hex" would result in hex code "456e636f6465202d20486578"
var t = "Analytics" var h = ""; for (let i=0; i<t.length; i++) { h+= t.charCodeAt(i).toString(16); }
console.log(t); // original text console.log(h); // hex string
The text was updated successfully, but these errors were encountered:
Agreed, adding a vote to this. Definitely needed for use with the PnP Search web parts!
Sorry, something went wrong.
No branches or pull requests
Would it be possible to get hex encoding helper?
We have some search related features using your Handlebars Helpers and it would be great to use the hex encoding in our URL mechanism.
For example:
"Analytics" would result in hex code "416e616c7974696373"
"Encode - Hex" would result in hex code "456e636f6465202d20486578"
var t = "Analytics"
var h = "";
for (let i=0; i<t.length; i++) {
h+= t.charCodeAt(i).toString(16);
}
console.log(t); // original text
console.log(h); // hex string
The text was updated successfully, but these errors were encountered: