How can I iterate over the characters in a string, and change them?

I want to take a string, and change each character. I.e. A becomes E or F becomes C.

what I have is this:

function convert(){
  var text=document.getElementById('textInp').value;

I don’t know what to do in the for loop

92 thoughts on “How can I iterate over the characters in a string, and change them?”

  1. Its like you learn my mind! You appear to know so much approximately
    this, such as you wrote the ebook in it or something.
    I believe that you just can do with some % to power the
    message home a little bit, but instead of that,
    that is wonderful blog. An excellent read. I’ll certainly be back.

  2. pharmacie de garde aujourd’hui en creuse pharmacie de garde wissous aujourd’hui , une therapie comportementale et cognitive pharmacie boulogne billancourt garde , Naltrexone prix sans ordonnance, Acheter Naltrexone 50 mg pas cher. Naltrexone sans ordonnance Belgique Naltrexone pas cher [url=]Naltrexone livraison Belgique[/url] pharmacie bordeaux quinconces Advent dt prix sans ordonnance, Advent dt livraison Canada. Advent dt sans ordonnance Canada Advent dt pas cher [url=]Advent dt prix sans ordonnance, Advent dt sans ordonnance Canada[/url] , pharmacie tilleuls annecy quel pharmacie de garde aujourd’hui , pharmacie leclerc pontivy. pharmacie bourges ouverte lundi matin Suprax livraison Suisse, Suprax livraison Suisse. Suprax sans ordonnance Suisse Suprax pas cher [url=]Suprax livraison Suisse, Acheter Suprax 200 mg pas cher[/url] , pharmacie de garde marseille canebiere pharmacie en ligne avec ordonnance, therapies eating disorders pharmacie brunet bourges . pharmacie lafayette amiens sud, pharmacie de garde marseille nuit 13010 pharmacie lafayette nancy pharmacie koenig angers .


Leave a Comment