Modules
ADTDatabaseGTK2GUIIPPiJAXPublicSqlStdioSubversionSystemToolsXosdluav4l2wx
Public.Parser.XML2 1.50 Public.ZeroMQ 1.1 Public.Template.Mustache 1.0 Public.Protocols.XMPP 1.4 Sql.Provider.jdbc 1.0
Popular Downloads
Public.Parser.JSON2 1.0 Public.Parser.JSON 0.2 GTK2 2.23 Public.Web.FCGI 1.8 Public.Parser.XML2 1.48
module version 0.1, prepared
string Public.Standards.CSV.enquote(string in)
Enquote data to be put into a CSV file This means doubling the quoting character: " -> ""
The string to quote Example: John "foo" Doe
The quoted string, ready to be written in a CSV file Example: John ""foo"" Doe
string Public.Standards.CSV.dequote(string in)
Dequote data taken from a CSV file This means reducing double quoting character: "" -> "
The string to dequote Example: John ""foo"" Doe
The string unquoted, ready to be processed Example: John "foo" Doe
mixed Public.Standards.CSV.detect_type(mixed v)
Determines the "human" type of a string. In CSV, data are stored as strings, but the actual value can be of any type. Example: "42" -> 42 "3.14" -> 3.14
Determines the "human" type of a string.
In CSV, data are stored as strings, but the actual value can be of any type.
Example: "42" -> 42 "3.14" -> 3.14
The data we want to determine type
The actual value, casted as the determined type.