Hi,
1 Q.
str="a1bc23"
s_len = len(str)
n_val=""
c_val=""
For i=1 to s_len
If isnumeric(mid(str, i, 1)) Then
n_val=n_val&cstr(mid(str, i, 1))
Else
c_val=c_val&cstr(mid(str, i, 1))
End If
Next
msgbox n_val & " " & c_val
''
4 Q)
Dim MyString, MyArray, Msg
MyString = "VBScriptXisXfun!"
MyArray = Split(MyString, "x", -1, 1)
' MyArray(0) contains "VBScript".
' MyArray(1) contains "is".
' MyArray(2) contains "fun!".
Msg = MyArray(0) & " " & MyArray(1)
Msg = Msg & " " & MyArray(2)
MsgBox Msg
Rest i will let u know
Thanks,
Amit
On Thu, May 10, 2012 at 11:46 PM, Archana <[email protected]>wrote:
>
> Hi aim Archana...
> Iam learning testing ...I need some help....
> Can I get answers for following qns:
> 1) "a1bc23" separate dis string into 2 strings like 1->abc 2->123?
> 2) gmail applicant is there.on that inbox so many mails r der including
> naukari mails.on that mails I can select only naukari mail
> checkboxes?write the descriptive code?
> 3) how to capture the google page which is dynamically changing on that
> link?
> 4) can u explain split funcn with example?
> Plz do reply me....
> Thanks in advance....
> Sent from my iPad
>
> --
> 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