Quality Testing

Quality is delighting customers

How will you find, reverse and replace the character?

Can anyone help to write a code in VB scripting? 

Views: 236

Reply to This

Replies to This Discussion

          To reverse the characters

         x=strReverse("These is a song")

           msgbox x

         To replace the character
          x=Replace("This is a song ","a","ain't")
           msgbox x

Thanks for reply.But i need the code without using replace function

to replace the character without using replace function

str="this is srinu"

a=split(str,"is")

join(a,"yes")

o/p:this yes srinu

Can you provide more detail?  Your request is too generic.  What do you mean by "reverse" and you say "replace the character" - with what?

Use mid func and then use For loop to reverse the string...

for Replace plz provide some more info...like wat u need to replce with wat...(string/int/etc??)

RSS

TTWT Magazine

Welcome to Quality Testing!

Sachin Natu

 Manager QA at IdeaS Revenue Optimization

Advertisement

Submit A Job

Submit A Tool

Advertisement

Videos

  • Add Videos
  • View All

Badge

Loading…

© 2013   Created by Quality Testing.

Badges  |  Report an Issue  |  Terms of Service