how can i parse an input string in JavaScript ? ,and by parsing I mean parsing of a string character by character. i don't want to use any inbuilt methods. use of for loop will be helpful. i have tried a palindrome function on an integer number by using modulus of a number but not sure how to do this in a string
enter code here
var str = "the quick brown fox jumps over a lazy dog";
for (i=0; i<str.length;i++){
//the code goes here//
}
help me with a function which can be used in different programs to parse strings. i am new to programming and stackoverflow . i'll try to get better with time