'Numbers
Dim i, j
For i = 1 To 5
For j = 1 To i
a = a & i
Next
a = a &vbcrlf
Next
MsgBox a


'No Space string
str = "This is Quick test professional portal"
nospace = Replace(str," ","")
MsgBox nospace

On Sun, Jan 22, 2017 at 3:54 PM, Mv Krishna <[email protected]> wrote:

> 1.write a vb script code to print like this ?
>
> 1
> 2 2
> 3 3 3
> 4 4 4 4
> 5 5 5 5 5
>
> 2. Write the script to eliminate the spaces between these words ?
>
> This is Quick test professional portal
>
> Answer should be thisisquicktestprofessionalportal
>
> --
> --
> 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.
>

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

Reply via email to