R/variantkey.R
EncodeStringNumID.Rd
Encode a string composed by a character section followed by a separator character and a numerical section into a 64 bit unsigned integer. For example: "ABCDE:0001234" Encodes up to 5 characters in uppercase, a number up to 2^27, and up to 7 zero padding digits. If the string is 10 character or less, then the EncodeStringID() is used.
EncodeStringNumID(str, sep = ":")
str | The string to encode. It must be maximum 10 characters long and support ASCII characters from '!' to 'z'. |
---|---|
sep | Separator character between string and number. |