Changes

91 bytes added ,  22:07, 9 August 2018
no edit summary
Line 1: Line 1:  
<div style="font-size:30px">'''FIND (txt,txtst,n)'''</div><br/>
 
<div style="font-size:30px">'''FIND (txt,txtst,n)'''</div><br/>
*<math>txt</math> is the text you want to find.  
+
FIND (FindText,WithinText,StartNumber)
*<math>txtst</math> is the text or string that contains the text you want to find.
+
 
*<math>n</math> is the number to start the search.
+
*<math>FindText</math> is the text you want to find.  
 +
*<math>WithinText</math> is the text or string that contains the text you want to find.
 +
*<math>StartNumber</math> is the number to start the search.
    
==Description==
 
==Description==
Line 13: Line 15:  
#<math>FINDB</math> counts double-byte character as 2.
 
#<math>FINDB</math> counts double-byte character as 2.
 
*<math>FIND</math> and <math>FINDB</math> are case sensitive. It won't allow wildcard characters.
 
*<math>FIND</math> and <math>FINDB</math> are case sensitive. It won't allow wildcard characters.
*If <math>txt</math> is "" (NULL), FIND matches with the first character in the search string.
+
*If <math>FindText</math> is "" (NULL), FIND matches with the first character in the search string.
 
It will return ERROR when:
 
It will return ERROR when:
  1.<math>txt</math> must not be wildcard characters.
+
  1.<math>FindText</math> must not be wildcard characters.
  2.If <math>txt</math> is not there in <math>textstring</math>
+
  2.If <math>FindText</math> is not there in <math>WithinText</math>
  3.If <math>n</math> is greater than the length of <math>txtst</math>.
+
  3.If <math>StartNumber</math> is greater than the length of <math>WithinText</math>.
    
==Examples==
 
==Examples==
writer
6,694

edits