<<prev file | next file >>    view single page | view frames    summary: fields | routine    details: routine

ToBeReviewed/STRING/

nwrds.pro

Return the number of words in the given text string.

topnwrds

result = nwrds(txtstr, help=help, delimiter=delimiter)

Return value

n = number of words found.

Parameters

txtstr       

= text string to examine.

Keywords

help       

delimiter       

= d. Set delimiter character (def = space).

Version history

Version

$Id: nwrds.pro 142 2006-07-21 12:47:49Z navarro $

History

R. Sterner, 7 Feb, 1985. Johns Hopkins University Applied Physics Laboratory. RES 4 Sep, 1989 --- converted to SUN. Copyright (C) 1985, Johns Hopkins University/Applied Physics Laboratory This software may be used, copied, or redistributed as long as it is not sold and this copyright notice is reproduced on each copy made. This routine is provided as is without any express or implied warranties whatsoever. Other limitations apply as described in the file disclaimer.txt.

Known issues

Restrictions

See also getwrd.

Statistics

McCabe cyclic 6
McCabe essential 1
McCabe modular design 1
Produced by IDLdoc 2.0.