Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Can silktest run on mac?

1130


Can silktest switch browsers automatically?

1113


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

1154


What is 4test?

1094


How to run a test case from a testplan file?

1175


What is a silktest testplan?

1106


What is the dom browser extension?

1204


What is a test frame?

1107


How to include a test case into a testplan?

1060


What is silktest project?

1045


How dom browser extension identify a web application ui object?

1281


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

3306


Where are the testplan attributes stored?

1043


What are the default testplan attributes?

1091


Is there any way of passing values at runtime? Like scanf does in C.

2784