how to store charecters of HARIBABU Using arrays

Answer Posted / aditya

Dim Word, reverse, arr1(), length, i
Word = Inputbox(" Enter a Word" )
length = len(word)
redim preserve arr1(length)
For i = 0 to (length -1)
arr1(i) = mid(word,i+1,1)
Next
For i = (length -1) to 0 step -1
reverse = reverse & arr1(i)
Next
msgbox reverse

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How strcomp function works?

626


hi i am trying for testing job for 3+ experience(fake) can u suggest me what type of projects i can keep in my resume and how much of knoeledge i should have abt that project.thnks in advance.urgt plz

2588


Which in-built function is used to format the number in the vbscript language?

581


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

1591


If else for do while select in vb script?

645






Plzzzzzzz can any one tell me which is the best institute in hyderabad for learing VBScript. plz do answer guys its urgent plzzzzzzz. thanks in advance.

1729


How will you reverse a string in vbscript?

622


What is vbscript procedures?

604


Mention how to access array data?

515


How can constants be declared in the vbscript language?

553


Mention what is the difference between vbscript and vba?

525


1.I want to establish connection with excel and also want to fetch the data using SQL queries. 2.the code should be written in such a way that in future if I want to migrate from excel to MS excess database , then there should be minimal changes.

1523


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

629


about vb scripting programs this type of all question& answers

1697


How to create a cookie using vbscript?

591