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

reverse the string without using reverse string?

Answer Posted / cnu_thatavarthi

Option Explicit
Dim strValue,iCount, strNewValue

strValue = "CapGemini"

For iCount = Len(strValue) To 1 Step -1

strNewValue = strNewValue& Mid(strValue,iCount,1)

Next

strNewValue = Trim(strNewValue)
MsgBox strNewValue

'Expected value
---------------------------

---------------------------
inimeGpaC
---------------------------
OK
---------------------------

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is it recommended to close the database connection every time after the work is completed?

877


Is vbscript a case-sensitive or case-insensitive?

1207


1. How to handle object implementation change in DP for Ex: i have login page with username,pasword (editboxes),login,cancel(buttons). Here i written DP code for login page with the help properties. My questions: 1.If properites are changing dynamically i will do (i want code for that) 2.if objects are changed dynamcally i will do (i wnat code for that)

2060


Mention what is vbscript procedures?

939


Give me sm ideas to write Vbscripts abt protocol testing abilash700@gmail.com.

2022


Which function is used to perform string comparison?

1058


HOw we can apply web service checkpoint in QTP 9.5? I tried it out with net connection also. But not getting success.

2467


What are subprocedures in vbscript?

1059


What is purpose of scripting.filesystemobject class in vbscript?

1064


How will you get a combined string from array of string in vbscript?

899


Mention when to use function procedures and what are its characteristics?

1058


Mention how to access array data?

912


how to operate webobjects in a webpage using getobject function and then using generic methods?

3030


write any ttest cases using check points and parameterization

2221


What are the special sub-types in vbscript?

988