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 the syntax of ui object identifier used by dom extension?
What is defaultbasestate?
What are the important aspects of a test case?
What is the segue testing methodology?
What is stored in a test frame?
how to pass TDS intery in tally?
How to create a new silktest project?
How to run a test case from a testplan file?
How to select a group of test cases in a testplan to run?
What are the problems you faced while identifying an object in silk?
How to open an existing silktest project?
Can silktest switch browsers automatically?
How to define values for a testplan attribute?
How to assign attribute values to test cases?