UFT\QTP Learner
Thursday, 30 November 2017
Vbscript: Finding Unique Items from space separated string
str
=
"IBM CG CITI IBM CG"
arr
=
split
(
str,
" "
)
final
=
""
For
each
x
in
arr
If
instr
(
1
,final,x
)=
0
Then
final
=
final
&
" "
&
x
End
If
Next
msgbox
final '
IBM CG CITI
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Spring Boot : Exception Handler 14
WaitProperty Method with Regular Expression
Description Waits until the specified object property achieves the specified value or exceeds the specified timeout ...
Vbscript: Reading CSV file using ADODB
Option Explicit Dim adoCSVConnection, adoCSVRecordSet, strPathToTextfile Dim strCSVFile, k ' Specify path to CSV file. strPathToTextF...
UFT: Drag and Drop (When Object Supports it)
Below Code works if the WebElement has supports Drag and Drop Function. If Object does not support Drag and Drop , Mercury Device Replay ...
No comments:
Post a Comment