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 / uday kumar. a
Just use the mod operator.
Say x=1234567
then modValue=x mod 10000
The modValue has a value of 4567
Another technique is by using substring function.
Try solution for substring function
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the syntax of ui object identifier used by dom extension?
How to record a test case?
Where is a testplan stored?
How record a test case into a testplan automatically?
How load testing can be done with silk international?
How to run a test case from a test script file?
How to create group and sub group descriptions in a testplan?
What is the vo browser extension?
What is 4test?
How to specify a browser extension to a web application?
Where are the testplan attributes stored?
How to define values for a testplan attribute?
can we test the application by inserting checkpoints using silktest as we do in qtp and winrunner and also what are the automation frameworks in silktest
What is silktest agent?
What are the default testplan attributes?