Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Off topic but related: I'm creating tables dynamically and have code that may help you if you need it, though the rules for tables and PK/RK are quite different. "^[A-Za-z][A-Za-z0-9]{2,62}$"."</p> <p>Perhaps you can use this to inspire your own solution</p> <p>Decode a string</p> <pre><code> string edit1 = host .Replace("qqu", "_") .Replace("qqh", "-") .Replace("qqp", ".") // NOTE: qqn is reserved leading sequence .Replace("qqt", "qqu") .Replace("qqo", "qqp") .Replace("qqg", "qqh") ; if (edit1.StartsWith("qqn")) { edit1 = edit1.Substring(3, edit1.Length); } if (edit1.StartsWith("qq")) { edit1 = edit1.Substring(2, edit1.Length); } </code></pre> <p>Method to Encode a string</p> <pre><code> string edit1 = this.originalName.ToLower().Trim() .Replace("qqu", "qqt") .Replace("qqp", "qqo") .Replace("qqh", "qqg") // NOTE: qqn is reserved leading sequence .Replace("_", "qqu") .Replace("-", "qqh") .Replace(".", "qqp"); string test = "qq"; if (edit1.StartsWith(test)) return test + "n" + edit1; test = "0"; if (edit1.StartsWith(test)) return "qq" + edit1; test = "1"; if (edit1.StartsWith(test)) return "qq" + edit1; test = "2"; if (edit1.StartsWith(test)) return "qq" + edit1; test = "3"; if (edit1.StartsWith(test)) return "qq" + edit1; test = "4"; if (edit1.StartsWith(test)) return "qq" + edit1; test = "5"; if (edit1.StartsWith(test)) return "qq" + edit1; test = "6"; if (edit1.StartsWith(test)) return "qq" + edit1; test = "7"; if (edit1.StartsWith(test)) return "qq" + edit1; test = "8"; if (edit1.StartsWith(test)) return "qq" + edit1; test = "9"; if (edit1.StartsWith(test)) return "qq" + edit1; test = "0"; if (edit1.StartsWith(test)) return "qq" + edit1; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload