Changes

Jump to navigation Jump to search
no edit summary
Line 2: Line 2:     
*where <math>otext</math> is the original or old text
 
*where <math>otext</math> is the original or old text
*<math>snum</math> is the position of character in old text
+
*<math>snum</math> is the character position in old text
*<math>noc</math> is the number of characters
+
*<math>noc</math> is the number of characters to be replaced in old text
*<math>ntext</math> is the new text that replaces the characters in old text.
+
*<math>ntext</math> is the new text that replaces the characters in old text
    
REPLACE() replaces a part of the text string with a different text string.
 
REPLACE() replaces a part of the text string with a different text string.
Line 21: Line 21:  
*<math>snum</math> and <math>noc</math> should be positive numbers.
 
*<math>snum</math> and <math>noc</math> should be positive numbers.
 
*If <math>snum</math> and <math>noc</math> are non-integers, they are truncated.
 
*If <math>snum</math> and <math>noc</math> are non-integers, they are truncated.
*If <math>snum</math> is &gt; the length of string, Calci assumes it to be '0'(zero) and new text is appended before old text.
+
*If <math>snum</math> &gt; 'length of <math>otext</math>' , Calci assumes it to be '0'(zero) and new text is appended before old text.
 
*If any arguments are invalid, Calci displays an #ERROR message.
 
*If any arguments are invalid, Calci displays an #ERROR message.
   Line 38: Line 38:  
| class="  " |
 
| class="  " |
 
| class="  " |
 
| class="  " |
      
|- class="even"
 
|- class="even"
Line 44: Line 43:  
| class="  " |
 
| class="  " |
 
| class="  " |
 
| class="  " |
      
|- class="odd"
 
|- class="odd"
Line 50: Line 48:  
| class="  " |
 
| class="  " |
 
| class="  " |
 
| class="  " |
      
|- class="even"
 
|- class="even"
Line 56: Line 53:  
| class="  " |
 
| class="  " |
 
| class="  " |
 
| class="  " |
      
|- class="odd"
 
|- class="odd"
writer
2,661

edits

Navigation menu