Difference between SUBSTR and INSTR ?

INSTR (String1,String2(n,(m)),INSTR returns the position of the mth occurrence of the string 2 instring1. The search begins from nth position of string1.SUBSTR (String1 n,m)SUBSTR returns a character string of size m in string1, starting from nth position of string1.

Showing Answers 1 - 4 of 4 Answers

tarun1282

  • Apr 27th, 2006
 

substr is used to get a sub part of a string but instr is a function that returns the position of a specific character and also according to it's occurence in that string.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions