title: How do I store and load a list of key-value pairs in a string?
body: <p>I have a list of strings and the values they are to be replaced with. I'm trying to combine them in a list like <code>'O'='0',' .'='.', ...</code> so it's easy for me to edit it and add more pairs of replacements to make.</p>
  
  <p>Right now the best way I could think of it is:</p>
  
  <pre><code>var
    ListaLimpeza : TStringList;
  begin
    ListaLimpeza := TStringList.Create;
  
    ListaLimpeza.Delimiter := '|';
    ListaLimpeza.QuoteChar := '"';
    ListaLimpeza.DelimitedText := 'O=0 | " .=."';
  
    ShowMessage('1o Valor = '+ListaLimpeza.Names[1]+' e 2o Valor = '+ListaLimpeza.ValueFromIndex[1]);
  </code></pre>
  
  <p>This works, but it's not good for visuals, since I can't code the before string (for ex <code>' .'</code>) like that (which is very visual for the SPACE character), only like (<code>" .</code>) so that the <code>=</code> works to assign a name and value in the TStringList.</p>