javascript compare two strings

javascript compare two strings

JavaScript string equality check using equals() method

//THIS METHOD IS USED TO CHECK THE EXISTING TEXT IS CHANGED OR NOT.
var isReadyForUpdateCall = function (oldI1, newI1, oldJ1, newJ1) {
    var status = true;
    if (oldI1.equals(newI1) || oldJ1.equals(newJ1)) {
        status = false;
    }
    return status;

}

ANIL SINGH

Hey! I'm Anil Singh. I author this blog. I'm Active Blogger, Programmer. I love learning new technologies, programming, blogging and participating the forum discussions more...
My Blogs - http://www.code-sample.com and http://www.code-sample.xyz
My Books - Google Amazon and Flipkart Book Store!

You Might Also Like
Post a Comment
www.code-sample.com/. Powered by Blogger.
ASK Questions
SQL Server NodeJs TypeScript JavaScript Angular SQL Server My Book