Imagine you have a string variable that holder a credit
card (16digit). There are multiple ways of obtaining last
four digits of this number programmatically on a run time.
Name one; for practical purpose variables name is sCCnumber?
Answer Posted / smitha
Use Right function
sSubstring = Right (sString, iNumChars)
Eg. sCCnumber = "123456786543245"
Print ( right (sCCnumber ,4)
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is the dom browser extension?
What is silktest agent?
In SilkTest we have a function Except Log which displays the path of the error occured in a Script.In QTP do we have any function like that?
How to download latest silk test trial version?
Where are the testplan attributes stored?
How to create and edit a testplan?
What is the standard flow of execution of a test case?
What is defaultbasestate?
How to specify a browser extension to a web application?
What is the syntax of ui object identifier used by dom extension?
How to define new testplan attributes?
How to run all test cases in a testplan?
What is the segue testing methodology?
How to include a test case into a testplan?
how to pass TDS intery in tally?