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
horrorfan [7]
3 years ago
12

What is the return value of "select".substring(4, 4)?

Mathematics
1 answer:
Romashka-Z-Leto [24]3 years ago
4 0
I'm assuming the syntax here is Javascript:

The str.substring() method takes in two integers - a start index and an end index - and returns all the characters in the specified range from the original string, <em>including</em> the character in the start index and <em>excluding </em>the character in the end index<em />. Javascript's is <em>0-indexed</em>, which means that all of its indices start at 0.

For instance, if we were to use the method on the string "test" and wanted to return the substring "tes", we'd call the following method:

"test".substring(0,3)

This would return everything from the first character, "t", <em>up to but not including</em> the fourth character, "t". The character immediately before the last "t" (index 3), "s" (index 2) would be our last character, and the console should print "tes" as a result.

For your example, "select".substring(4,4) prints out every character starting at index 4 - the fifth character, "c" - <em>up to but not including </em>the character at index 4. We start and stop at the same character, so the method will only return the character "c", and nothing else.
You might be interested in
Pls help dudndidndiendifn
g100num [7]

Answer:

I don't know D

Step-by-step explanation:

but why is this in the mathematics section

7 0
3 years ago
Need help ASAP if y’all could pls help me out that would be great
Vladimir [108]
Hi! here’s what i’d put for the sentences to fill in the blanks:

- 1 ten is equal to 10 ones. 1 ten is 10 times the value of 1 one.

- 1 hundred is equal to 10 tens. 1 hundred is 10 times the value of 1 ten.

- 1 thousand is equal to 10 hundreds. 1 thousand is 10 times the value of 1 hundred.

- 1 ten-thousand is equal to 10 thousands. 1 ten-thousand is 10 times the value of 1 thousand.

- 1 hundred-thousand is equal to 10 ten-thousands. 1 hundred-thousand is 10 times the value of 1 ten-thousand.

Place Value Chart:

blank space before 3 is 2

hope this helped!:)
4 0
3 years ago
Given: A(-4,1), B (6, 1), C (-2, -3), D (4, -3), E (5, 4) and the center O (1, 1); use 3.14 for
UNO [17]

Answer:

Step-by-step explanation:

R = 5 cm = 1 - (-4)

D = 10 cm = 2R

CD = 6 cm = 2 - (-4)

A = π(5)² = 25π cm²

Α ≈ 25(3.14) = 78.5 cm²

C = 10π

C ≈ 10(3.14) = 31.4 cm

4 0
3 years ago
Our of 1000 new born
kozerog [31]

Look a view at this picture

3 0
3 years ago
there are 9 acorns in each pile. there are 8 piles. how many acorns are there in all? write an equation that can be used to solv
statuscvo [17]

Answer:

72 acorns.

Step-by-step explanation:

9 (acorns per pile)

             *

       8 (piles)

5 0
3 years ago
Read 2 more answers
Other questions:
  • Sin(a+b)/sin(a-b)=tana+tanb/tana-tanb
    7·2 answers
  • Two anime girls + Four anime girls= How many anime girls???<br><br> Hint: ^_^ - すべての女の子
    7·2 answers
  • What is the domain of f(x)?
    11·1 answer
  • Jia is tiling a floor. The floor is a square with side
    14·1 answer
  • A car rental agency advertised renting a car for $ 26.95$26.95 per day and $ 0.28$0.28 per mile. If GregGreg rents this car for
    11·1 answer
  • Please help me solve this for brainliest!!
    12·1 answer
  • Find the solution set of the inequality <br><br> 8x - 8 ≤ -72
    5·2 answers
  • Which statement best describes a graph of paired points that form a proportional relationship?
    15·1 answer
  • Determine the x- and y- intercepts for the graph defined by the given equation. x = -9 Please select the best answer from the ch
    8·1 answer
  • £6846 is shared equally between 7 people. How much does each person get?
    8·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!