1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
ch4aika [34]
3 years ago
10

Before using a string in a comparison, you can use either the To Upper method or the To Lower method to convert the string to up

per case or lower case, respectively, and then use the converted string in the comparison.1. True2. False
Physics
1 answer:
Burka [1]3 years ago
5 0

Answer:

True

Explanation:

If there's no preference over the string case (upper case or lower case), one can convert both strings to upper case or to lowercase and then compare the converted strings to test if they're equal or not.

An Illustration is

string a = "Boy"

string b = 'bOy"

if(a.ToUpper() == b.ToUpper() || a.ToLower() == b.ToLower())

{

Print "Equal Strings"

}

else

{

Print "Strings are not equal";

}

The above will first convert both strings and then compare.

Since they are the same (after conversion), the statement "Equal Strings" will be printed, without the quotes

You might be interested in
Which object will be considered to be in free fall
Pani-rosa [81]
It depends on what they are 
3 0
3 years ago
Read 2 more answers
If a bag holds 70.874 grams ,how many itemsare in the bag?​
Alina [70]

Answer:

The answer is not able to be solved, because we dont know what objects are in it, and how heavy they are. More information please!

Explanation:

7 0
3 years ago
What is Marie's instantaneous speed at 20 minutes in miles/min?
AVprozaik [17]

Answer:

0.25miles/min

Explanation:

Instantaneous speed of a person or an object is its speed at a particular moment usually at a period of time.

The speedometer of a car reports the instantaneous speed.

 It can be mathematically expressed as;

        Instantaneous speed  = \frac{distance}{time}

At 20min the distance covered is 5miles;

    Instantaneous speed  = \frac{5 miles }{20mins}   = 0.25miles/min

8 0
2 years ago
Harmfful effect of earthquake
Snowcat [4.5K]

Answer:

Death, Destruction, Loss of home

5 0
3 years ago
Read 2 more answers
If an object is not accelerating what can you determine about the sum of all the forces on the object
xxTIMURxx [149]
If object is not accelerating, the sum of all forces on the object will be equal to ZERO...
8 0
3 years ago
Other questions:
  • Both nuclear fusion and nuclear fission reactions____
    11·2 answers
  • In order for work to be done, what must be true?
    9·1 answer
  • When fossil fuels are burned, they release oxides of ____________________ and ____________________.
    5·2 answers
  • The graph below show how natural processes and human activities affect climate
    14·2 answers
  • How is the radiating electric field (or electromagnetic signal) produced when radio stations broadcast
    6·1 answer
  • A pen rolls off a 0.55–meter high table with an initial horizontal velocity of 1.20 meters/second. At what horizontal distance f
    12·2 answers
  • Temperature danger zone <br> what is the biggest cause of foodborne illness
    13·1 answer
  • The parallel plates in a capacitor, with a plate area of 7.10 cm2 and an air-filled separation of 2.20 mm, are charged by a 4.80
    13·1 answer
  • For which optical devices does d¡ always have a negative value?
    15·2 answers
  • Create a Graph : Include numbers, axes, and order pairs
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!