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


Please Help Members By Posting Answers For Below Questions

What is a silktest testplan?

616


What is silktest host?

585


Can silktest switch browsers automatically?

578


How record a test case into a testplan automatically?

560


What is silktest agent?

583






how to pass TDS intery in tally?

2243


How to create group and sub group descriptions in a testplan?

587


What is the vo browser extension?

548


How to assign attribute values to test cases?

630


What is the dom browser extension?

587


How to include a test case into a testplan?

558


What is 4test?

596


How to create a test frame?

626


Where is a testplan stored?

572


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

2825