decode <string> {,<ident> ... }
Read identifier values from a string expression.
<string>
The string expression to be decoded.
<ident>
The identifier(s) whose values are to be read from string. They must already exist.
-del=<string>
Define the delimiter between fields in the string to be decoded. <string> may be a 1 or 2 character
string, containing a delimiting character and optionally a space to indicate
that white space is also permitted. If this switch is omitted, ', ' is
assumed, i.e a comma and/or white space.
Any occurrences of the delimiter within pairs of double quotes
are treated as data not as delimiters.
If there are no identifiers specified on the command line, no action will be taken. If there are more identifiers than there are values in <string>, these identifiers will remain unchanged.
Split a string s into two: s1 and s2.
decode s, s1, s2
Commands: |