Changeset 374 for trunk/SRC/ToBeReviewed/STRING/strright.pro
- Timestamp:
- 08/08/08 17:12:27 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/ToBeReviewed/STRING/strright.pro
r325 r374 12 12 ; @param LASTN {in}{required}{default=1} 13 13 ; the number of characters to be returned. 14 ; If NLAST is the strlen(STRING), the complete string 14 ; 15 ; If LASTN is the strlen(STRING), the complete string 15 16 ; is returned. 16 17 ; … … 19 20 ; 20 21 ; @examples 21 ; if (strright(path) ne '/') then path = path + '/' 22 ; 23 ; add a "/" in to path if it "/" is not at the end : 24 ; 25 ; IDL> path="/tmp" 26 ; IDL> if (strright(path) ne '/') then path = path + '/' 27 ; IDL> print,path 28 ; /tmp/ 22 29 ; 23 30 ; @history
Note: See TracChangeset
for help on using the changeset viewer.