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...

how to reverse a string with out using string or predefined
function,ex:string is " i love india". the output should be
like this "i evol aidni"

Answer Posted / lak

str=" i love india"

Set regExpObj=new RegExp
regExpObj.pattern="[a-z A-Z]"
regExpObj.global=true

Set matches=regExpObj.execute(str)
For each letter in matches
result=letter.value&result
Next

msgbox result

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi,All How to create a link in excel sheet using qtp

3374


how to disable the pop ups through QTP using a script

2204


Hi, How Accessibility checkpoint in QTP can be implemented in the test script?

2070


How to use output values in qtp ?

948


how to i add the values using the check points property?( i.e valid data(for valid data it's giving the footer message:value is added) and for invalid data: special chars, spaces,Duplicates and null values (in my page when ever we enter special chars, spaces and null values, it's giving the proper warning message and for Duplicates it's giving the footer message:"value already exists)?

1842


Where we can use the analog mode and where we can use the low – level mode?

940


in my application,validation message has in japanise language.how to validate this message is appears properly or not

1987


What is quicktest professional (qtp)?

969


can u explain the keyword driven framework with an example clearly how to create all the files and how to attach to main test.

6070


Explain the check points in quicktest professional (qtp)?

986


What is checkpoints for quicktest professional (qtp)?

980


How to read a text file from QC using QTP. I would like to do something like this. But instead read a file from QC and NOT from my local drive. Set fso = CreateObject("Scripting.FileSystemObject") Set InputFile = fso.OpenTextFile("C:\test.txt", ForReading) Thanks

3208


Explain Descriptive Programming Types with Examples?

1430


Hi ,Can any one pleas explain how to test splash objects using QTP?

2316


what kind of frame work you used in your last project?

2270