Hello Buddy,

1) Pyramid Programme

c=1
For i=1 to 4
For j=1 to i
vstr= vstr & " " & c
c=c+1
Next
vstr=vstr & vbnewline
Next
Msgbox vstr

Output

1
2 3
4 5 6
7 8 9 10

2) Logic,

Extract every character by using mid function and check is it a special
character. If yes, remove it from the string, else retain the character in
that string.

3)Use FSO object, Extract the hole line, read the statement manually!

I hope this helps you.

-- 
*Warm Regards,
Vineeth*
On 17 August 2012 20:00, Siva Prasad <[email protected]> wrote:

> Hi all,
>
>
>             I need answers
> 1) how to display pyramid numbers(1,2,3,4,5,6) in vb script
> 2) how to eliminate special characters in a given string
>
> if i have a100 lines script, How we can  know 50th  Line sscript is updated
>
>
> Please help me
>
>
> Thanks in advance
>
> --
> 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
>

dd

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