TIP #252: Add New 'string' Command Options
_____________________________________________________________________________
TIP:	252
Title:	Add New 'string' Command Options
Version:	$Revision: 1.4 $
Authors:	Brian Schmidt <contact@schmidtsrus.net>
State:	Rejected
Type:	Project
Tcl-Version:	8.6
Vote:	Done
Created:	Tue Jun 28 00:00:00 UTC 2005
Abstract
This TIP proposes moving several existing string-related commands to be options in the existing top-level string command.
Rationale
There is an existing top-level string command already. However, there are other existing top-level string-related commands that for consistency should be options in the existing string command.
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.
Specification
Additional string command options would be added utilizing existing top-level commands, using the following syntax:
string split         ;equivalent to split
string format        ;equivalent to format
string scan          ;equivalent to scan
string subst         ;equivalent to subst
Each represents the existing command that is commented. The arguments to each would remain what the current command takes.
The old commands could then potentially be eventually deprecated:
split
format
scan
subst
Copyright
This document has been placed in the public domain.
_____________________________________________________________________________
Colophon
TIP AutoGenerator - written by Donal K. Fellows