Changeset 142 for trunk/SRC/ToBeReviewed/STRING/strright.pro
- Timestamp:
- 07/21/06 14:47:49 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/ToBeReviewed/STRING/strright.pro
r134 r142 1 ; $Id$2 1 ;------------------------------------------------------------- 3 2 ;+ 4 ; NAME:5 ; STRRIGHT6 3 ; 7 ; PURPOSE:8 ; 4 ; @file_comments 5 ; return right subportion from a string 9 6 ; 10 ; CATEGORY: 11 ; string handling 7 ; @categories 8 ; string handling 9 ; 10 ; @param S {in}{required} 11 ; the string to be searched 12 12 ; 13 ; CALLING SEQUENCE: 14 ; res = STRRIGHT(string [,nlast]) 13 ; @param LASTN {in}{required} 14 ; the number of characters to be returned. Default 15 ; is 1. If NLAST is ge strlen(STRING), the complete string 16 ; is returned. 15 17 ; 16 ; INPUTS:17 ; STRING --> the string to be searched18 ; @returns 19 ; The portion of LASTN characters of S counted from the back. 18 20 ; 19 ; NLAST --> the number of characters to be returned. Default 20 ; is 1. If NLAST is ge strlen(STRING), the complete string 21 ; is returned. 21 ; @examples 22 ; if (strright(path) ne '/') then path = path + '/' 22 23 ; 23 ; KEYWORD PARAMETERS: 24 ; @history 25 ; mgs, 19 Nov 1997: VERSION 1.00 24 26 ; 25 ; OUTPUTS: 26 ; The portion of NLAST characters of STRING counted from the back. 27 ; 28 ; SUBROUTINES: 29 ; 30 ; REQUIREMENTS: 31 ; 32 ; NOTES: 33 ; 34 ; EXAMPLE: 35 ; if (strright(path) ne '/') then path = path + '/' 36 ; 37 ; MODIFICATION HISTORY: 38 ; mgs, 19 Nov 1997: VERSION 1.00 27 ; @version 28 ; $Id$ 39 29 ; 40 30 ;-
Note: See TracChangeset
for help on using the changeset viewer.