Type in a command, or "ls dictionary" to search all commands for "dictionary", etc.
|
NAME strRange - Returns a sublist of words for a given phrase SYNOPSIS strRange [RANGE] [PHRASE] [-SILENT true] DESCRIPTION arguments: <RANGE> The format of the range parameter is: N N'th word of the phrase, counted from 1 N- from N'th word to end of phrase N-M from N'th to M'th (included) word -M from first to M'th (included) word This sintaxis is based on the Linux command CUT Here's the manual page: http://nixdoc.net/man-pages/Linux/man1/CUT.1.html <PHRASE> The string, words separated by spaces. <SILENT true> Optional argument, if set no error message is showed when there is a mistake in the sintaxis EXAMPLES strRange 2 Hello! how are you? returns: how strRange 8 nice to meet you returns: nothing strRange 3- a b c d e f returns: c d e f strRange -3 a b c d e f returns: a b c strRange 2-4 a b c d e f returns: b c d strRange 2-3-5 nice to meet you returns: Error!... strRange 2-3-5 nice to meet you -silent true returns: nothing AUTHORS Mike Nolan (idea) Fuska (code)