Changeset 142 for trunk/SRC/ToBeReviewed/STRING/strrepl.pro
- Timestamp:
- 07/21/06 14:47:49 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/ToBeReviewed/STRING/strrepl.pro
r134 r142 1 ; $Id$2 1 ;------------------------------------------------------------- 3 2 ;+ 4 ; NAME:5 ; STRREPL (function)6 3 ; 7 ; PURPOSE:8 ; 4 ; @file_comments 5 ; replace one (or more) character(s)/string(s) in a string 9 6 ; 10 ; CATEGORY:11 ; 7 ; @categories 8 ; string routines 12 9 ; 13 ; CALLING SEQUENCE:14 ; Result = STRREPL(str, index, rchar)10 ; @param STR {in}{required} 11 ; the string to be changed 15 12 ; 16 ; INPUTS:17 ; STR -> the string to be changed13 ; @param RCHAR {in}{required} 14 ; replacement character/string 18 15 ; 19 ; INDEX -> position of the character(s) to be replaced or a20 ; string to be changed in STR.16 ; @returns 17 ; another string 21 18 ; 22 ; RCHAR -> replacement character/string 19 ; @restrictions 20 ; Known shortcoming: if index is an array, it must contain all 21 ; valid elements (only the first entry is checked). 23 22 ; 24 ; KEYWORD PARAMETERS: none 25 ; 26 ; 27 ; OUTPUTS: 28 ; another string 29 ; 30 ; SUBROUTINES: 31 ; 32 ; REQUIREMENTS: 33 ; 34 ; NOTES: 35 ; Known shortcoming: if index is an array, it must contain all 36 ; valid elements (only the first entry is checked). 37 ; 38 ; EXAMPLE: 23 ; @examples 39 24 ; ; Convert one letter into upper case 40 25 ; … … 58 43 ; abcabcabc 59 44 ; 60 ; MODIFICATION HISTORY:45 ; @history 61 46 ; mgs, 02 Jun 1998: VERSION 1.00 62 47 ; sebastien Masson (smlod@ipsl.jussieu.fr) 48 ; 49 ; @version 50 ; $Id$ 63 51 ; 64 52 ;-
Note: See TracChangeset
for help on using the changeset viewer.