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 create a test frame?
Where is a testplan stored?
What is silktest agent?
Hi All, An newbiee to silk test tool. I wanted to write a function which checks the browser type installed in the local machine & then based on the browser type test case should run. I tried little bit writing the function : Void Func_ValidateBrowserType() Window myWin myWin = Browser.GetRealBrowser () print (myWin) Any help please.. Thanks, V
How to run a test case from a test script file?
How to specify a browser extension to a web application?
Can silktest run on mac?
How to define values for a testplan attribute?
What is the segue testing methodology?
What are testplan attributes?
How to include a test case into a testplan?
What are the important aspects of a test case?
Can silktest switch browsers automatically?
What is a test frame?
How to create group and sub group descriptions in a testplan?