Answer:
The SUBSTR function returns a specific portion of a string
Example: SUBSTR('DotNetFunda',6)
The result will be: DotNet
The INSTR function provides character position in a pattern of string.
Example: INSTR('Dot-Net-Funda','-',2)
The result will be: 8 (2nd occurrence of '-')
Asked In: Many Interviews |
Alert Moderator