TIP #252: ADD NEW 'STRING' COMMAND OPTIONS ============================================ Version: $Revision: 1.4 $ Author: Brian Schmidt State: Rejected Type: Project Tcl-Version: 8.6 Vote: Done Created: Tuesday, 28 June 2005 URL: https://tip.tcl-lang.org252.html Post-History: ------------------------------------------------------------------------- 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. ------------------------------------------------------------------------- TIP AutoGenerator - written by Donal K. Fellows