Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

split function

Status
Not open for further replies.

snowingnow

Programmer
Jun 1, 2006
32
CA
what could happen if the string in split function is "" or null,for example, [split "" ^] or [split @null ^], what will be the result? Thanks
 
Nothing is returned:
Code:
% set a [split "" ^]
% set a
%

Part of the joy of Tcl is being able to test out just such things in the shell with no overhead.

_________________
Bob Rashkin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top