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

How dom browser extension identify a web application ui object?

635


How to define values for a testplan attribute?

593


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

600


What is the segue testing methodology?

627


What is the syntax of ui object identifier used by dom extension?

604






What is silktest host?

595


What are the problems you faced while identifying an object in silk?

1916


How to include a test case into a testplan?

568


How to test your defaultbasestate?

613


What is the vo browser extension?

553


How to define new testplan attributes?

529


how to pass TDS intery in tally?

2254


How to specify a browser extension to a web application?

609


What are the types of text lines in a testplan file?

599


Want to lear from basic about silktest and how to write scripts. Please let me know if you know any website

2634