System.NetEncoding.TSqidsEncoding.DecodeToStr
Delphi
function DecodeToStr(const AHash: string): string;
C++
System::UnicodeString __fastcall DecodeToStr(const System::UnicodeString AHash);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.NetEncoding.pas System.NetEncoding.hpp |
System.NetEncoding | TSqidsEncoding |
Description
Decodes a Sqids encoded string and returns a string with comma-separated integer values.
AHash
is the parameter for the encoded string.
Note: DecodeToStr raises an exception when
AHash
contains an invalid argument.Alternatively, Decode returns the multiple values as an array of integers.