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
How to select a group of test cases in a testplan to run?
How to download latest silk test trial version?
What are the problems you faced while identifying an object in silk?
Can silktest run on mac?
How to specify a browser extension to a web application?
How to open an existing silktest project?
What is the dom browser extension?
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?
What is the syntax of ui object identifier used by dom extension?
What are the types of text lines in a testplan file?
What is multi-tagging?
How to create a test frame?
What are the important aspects of a test case?
Want to lear from basic about silktest and how to write scripts. Please let me know if you know any website
How record a test case into a testplan automatically?