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
can any one please tell me the full form of .g.t in silktest datadriven method
Where is a testplan stored?
How to test your defaultbasestate?
How to create a new silktest project?
How to assign attribute values to test cases?
How to define values for a testplan attribute?
What is silktest agent?
What is defaultbasestate?
How to record a test case?
What is the dom browser extension?
What is the segue testing methodology?
How to define new testplan attributes?
What is 4test?
How to create and edit a testplan?
What are testplan attributes?