answersLogoWhite

0

how to compare two strings that take input from the user and compare it.

For example:

i give first string as "THE"

and

give second string as "HTE"

then return "match"

if i give first as"THE"

nd

second string as "EHI"

then return "NOtMatch"

witout using STRCMP ...

please help me

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

Which operator is used in java script to work on string?

If you want to check if two strings are equal you have to use string_b)alert("Strings are equal");elsealert("Strings are not equal");}


The script was run or the script was ran which is correct?

In the world of technology, where a script is a snippet or more of computer code, the proper grammar is: The script was run, or the script ran.


Is it possible to compare database tables using SQL?

Yes it is possible to compare two different databases. All you have to do is implement the right script which will compare the information and the structure of the databases.


What is the plot of the film Evil Eyes?

Jeff Stenn is a writer who struggles with monetary problems. He accepts a job offer to write a screenplay about a homicide that had happened 35 years ago. As he is writing the script, several events from the script, happen in reality as well.


What technology did the people in Mesopotamia develop?

Cuneiform script. This is a writing system where documents were written on clay shields with stylus.


How do you equate a php variable to a javascript variable?

Ideal thing would be to retrieve the value from PHP using AJAX and then assigning it to a java script variable. Thereafter compare it to the java script variable that is already present.


Shell script that accepts a file name starting and ending line numbers as arguments and display all the lines between the given line numbers?

i=1 while [ $i -le $# ] do grep -v Unix $i > $i done


Is PHP a technology?

No. It is a server side script. Technologies allow coding for all known devices. For eg. Java is considered a technology cause it can be used to design desktop, web, mobile & network applications among others.


Compare action script2 and action script 3?

ActionScript 3 is the newer, quicker version of Adobe Flash's ActionScript. AS3, as Action Script 3 is normally called, is harder and more complicated for beginners, but much easier and more effective in the long run.


What script is the language Telugu written in?

Telugu Script evolved from Bhattiprolu script, which is a variant of Brahmi Script


What is television script called And are there different names for scripts for for example a script for a series a drama and a game show?

Every script is called a script. Regardless of the genre, the script is still called the script.


What is a roblox insert script?

A ROBLOX Insert Script is a script inserted into Workspace.