home *** CD-ROM | disk | FTP | other *** search
- strsplt:
-
- Syntax: strsplt ( STR )
- strsplt ( STR , FW )
-
- Description:
-
- Strsplt returns a row matrix that contains a single character
- string as each element. The resulting matrix has as many
- columns as the input argument had characters.
-
- Example:
-
- > smat = strsplt( "string" )
- smat =
- s t r i n g
- > show(smat)
- name: smat
- class: matrix
- type: string
- nr: 1
- nc: 6
-
- The second, and optional, argument to strsplt, FW forces
- strsplt to split STR into FW length strings.
-
- See also: getline
-