Text: UUID To Short UUID
Encode a canonical 36-char UUID into the 22-char base64 ShortGuid form (URL-safe). Fails if the input isn't a valid UUID. The parser also accepts a 22-char ShortGuid as input, in which case it is passed through unchanged — the function is effectively idempotent.
Example
Input: "c9a646d3-9c61-4cb7-bfcd-ee2522c8f633"
Output: "yaZG05xhTLe_ze4lIsj2Mw"
Parameters
This function has no parameters.
Input
uuidrequired
A canonical 36-character UUID (a 22-character ShortGuid is also accepted).
Output
short uuid
The 22-character ShortGuid representation.