Script for first question--

Dim i

i= "123aab45"

Set re= New RegExp

re.Global=True

re.IgnoreCase=True

're.Pattern="\d" 'for numerics

re.Pattern="\D" 'for alphbets

Set val=re.Execute(i)

'MsgBox val.Count

For Each j In val

 MsgBox j.Value
 Next

Cheers,
Gokul.

On Fri, May 25, 2012 at 11:10 AM, siva prasad
<[email protected]> wrote:
> Here i don't want to use any functions and loop
>
> this question is frquently aksing inadp and broad ridge
>
>
> Thanks&Regards
> pradad
>
>
>
> On Thu, May 24, 2012 at 10:29 PM, ๒คภ๔єรђ.קคtเl <[email protected]>
> wrote:
>>
>> Hi Prasad,
>> Ans for Q1
>> a="abs4s56t6"
>>
>> for i=1 to len(a)
>> b=mid(a,i,1)
>> if isnumeric(b) then
>>  c=c&b
>>
>> end if
>> next
>> msgbox c
>>
>>
>> Regards,
>> Bandesh
>>
>>
>>
>> On Fri, May 25, 2012 at 7:45 AM, prasad k <[email protected]> wrote:
>>>
>>> 1)How to extract a number from alpha numerics with out using built in
>>> function and loop
>>>
>>> 2) I need a web table scripts, Web table contain 1000 rows how to get
>>> search string.
>>>
>>> 3) how to compare the web table and excel files
>>>
>>> Please help me
>>>
>>> Thanks&Regards
>>>
>>> prasad
>>>
>>> --
>>> 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
>> "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
>
>
>
>
> --
> prasad kopparapu
> +91-9032114331
>
> --
> 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



-- 
Thanks,
Gokul Krishna.

-- 
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

Reply via email to