Gentee Programming Language > Documentation > Libraries Download documentation

str.split

The method splits a string into substrings taking into account the specified separator.
 
str.split(
      arr   names of str,
      uint   ch,
      uint   flag
)

Parameters

names of strThe array of strings substrings will be written to.
chSeparator.
flagFlags.
$SPLIT_EMPTYTake into account empty substrings.
$SPLIT_NOSYSDelete characters <= space on the left and on the right.
$SPLIT_FIRSTSplit till the first separator.
$SPLIT_QUOTETake into account that elements can be enclosed by single or double quotation marks.

See also

    Strings


 Copyright © 2004-2006 Gentee Inc. All rights reserved.