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 are testplan attributes?

590


What is the vo browser extension?

545


What are the important aspects of a test case?

564


How to create a test frame?

626


How to create a new silktest project?

592






What is silktest project?

557


How to record a test case?

596


Where are the testplan attributes stored?

569


How to run a test case from a test script file?

596


How to download latest silk test trial version?

660


Can silktest run on mac?

641


What is the dom browser extension?

585


How to define new testplan attributes?

520


How load testing can be done with silk international?

547


How to create and edit a testplan?

575