HyperWorks Tools

::hwat::utils::TokenizeLine

::hwat::utils::TokenizeLine

Previous topic Next topic No expanding text in this topic  

::hwat::utils::TokenizeLine

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

NAME

::hwat::utils::TokenizeLine - Tokenizes given line data based on the given separator.

 

SYNTAX

::hwat::utils::TokenizeLine str_lineData str_separatorChar

 

ARGUMENTS

str_lineData

The input data line.

[str_separatorChar]

Optional.  It could be any character excluding special characters.  The default being comma (",").

 

RETURNS

A Tcl list of given data after tokenizing the given line data based on the separator if successful, {} if unsuccessful.

 

EXAMPLE

::hwat::utils::TokenizeLine "abc, 123, 345, 654, 8.92"  ","

 

 

See also

Utils Functions