Hi,
Instr - it returns the position of the occurance of sub string in main
string, it begins from start of the string.
a=instr("akhalesh lession","les") it returns 5
InstrRev - It returns also the position of the occurance of sub string
in main string but it begins from end of the string.
b=instrrev("akhalesh lession","les") it returns 10
Thanks..
Akhalesh
On Wed, Nov 12, 2014 at 10:44 AM, Lakshya Tyagi <[email protected]>
wrote:
> Hi
>
> InStr - This function returns the Position of a sub- string within a Big
> string, considering First letter of Big string from left as starting
> Position 1.
> InStrRev - This function returns the Position of a sub- string within a
> Big string, considering First letter of Big string from the Right as
> starting Position 1.
>
> Regards
> Laksh
>
> On Tuesday, November 11, 2014 11:30:33 PM UTC+5:30, kishore kumar wrote:
>>
>>
>> Hi there,
>>
>> Can any one explain me briefly about Instr and InstrRev in vbscript with
>> examples....
>>
>> thanks,
>> -kishore
>>
> --
> --
> You received this message because you are subscribed to the Google
> "QTP - HP Quick Test Professional - Automated Software Testing"
> group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/MercuryQTP?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "QTP - HP Quick Test Professional - Automated Software Testing" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
--
Akhalesh yadav
+919555717928
+919310680659
--
--
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en
---
You received this message because you are subscribed to the Google Groups "QTP
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.