<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE TIP SYSTEM "http://www.tcl.tk/cgi-bin/tct/tip/tipxml.dtd">
<!-- Converted at Sun May 19 17:07:56 GMT 2013 -->
<!-- TIP AutoGenerator - written by Donal K. Fellows -->

<TIP number='252'>
<header><title>Add New &apos;string&apos; Command Options</title><author address="mailto:contact@schmidtsrus.net">Brian Schmidt</author><status type='project' state='rejected' tclversion="8.6" vote='after'>$Revision: 1.4 $</status><history></history><created day='28' month='jun' year='2005' /></header>
<abstract>This TIP proposes moving several existing string-related commands to be options in the existing top-level <emph style="bold">string</emph> command.</abstract>
<body><section title="Rationale">
<para>There is an existing top-level <emph style="bold">string</emph> command already. However, there are other existing top-level string-related commands that for consistency should be options in the existing <emph style="bold">string</emph> command.</para>
<para>These additional string command options would further centralize all string-related commands, making it easier for new users to see all the related string commands.</para>
</section>
<section title="Specification">
<para>Additional <emph style="bold">string</emph> command options would be added utilizing existing top-level commands, using the following syntax:</para>
<verbatim><vline encoding='base64'>c3RyaW5nIHNwbGl0ICAgICAgICAgO2VxdWl2YWxlbnQgdG8gc3BsaXQ=</vline><vline encoding='base64'>c3RyaW5nIGZvcm1hdCAgICAgICAgO2VxdWl2YWxlbnQgdG8gZm9ybWF0</vline><vline encoding='base64'>c3RyaW5nIHNjYW4gICAgICAgICAgO2VxdWl2YWxlbnQgdG8gc2Nhbg==</vline><vline encoding='base64'>c3RyaW5nIHN1YnN0ICAgICAgICAgO2VxdWl2YWxlbnQgdG8gc3Vic3Q=</vline></verbatim>
<para>Each represents the existing command that is commented. The arguments to each would remain what the current command takes.</para>
<para>The old commands could then potentially be eventually deprecated:</para>
<verbatim><vline encoding='base64'>c3BsaXQ=</vline><vline encoding='base64'>Zm9ybWF0</vline><vline encoding='base64'>c2Nhbg==</vline><vline encoding='base64'>c3Vic3Q=</vline></verbatim>
</section>
<section title="Copyright">
<para>This document has been placed in the public domain.</para>
</section>
</body></TIP>
