Decodes an application/x-www-form-urlencoded string.
EncodeBase64 (Data() AsByte) AsString
Encodes the given bytes array into Base64 notation. Example: DimsuAsStringUtils DimencodedAsString encoded = su.EncodeBase64(data) 'data is a bytes array
EncodeUrl (UrlAsString, CharSetAsString) AsString
Encodes a string into application/x-www-form-urlencoded format. Url - String to encode. CharSet - The character encoding name. Example: DimsuAsStringUtils Dimurl, encodedUrlAsString encodedUrl = su.EncodeUrl(url, "UTF8")
Loads a CSV file and stores it in a list of string arrays. Dir - CSV file folder. FileName - CSV file name. SeparatorChar - The character used to separate fields. Example: DimsuAsStringUtils DimTableAsList Table = su.LoadCSV(File.DirAssets, "1.csv", ",")
Saves the table as a CSV file. Dir - Output file folder. FileName - Output file name. SeparatorChar - Separator character. The character that separates fields. Table - A List with arrays of strings as items. Each array represents a row. All arrays should be of the same length. Example: DimsuAsStringUtils su.SaveCSV(File.DirRootExternal, "1.csv", ",", table)