menu
QAmmunity.org
Login
Register
My account
Edit my Profile
Private messages
My favorites
Register
Ask a Question
Questions
Unanswered
Tags
Categories
Ask a Question
Given the string variable address, write an expression that returns the position of the first occurrence of the string "avenue" in address. submit
asked
Nov 25, 2019
225k
views
1
vote
Given the string variable address, write an expression that returns the position of the first occurrence of the string "avenue" in address. submit
Computers and Technology
high-school
Chaooder
asked
by
Chaooder
5.2k
points
answer
comment
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
1
vote
string temp;
for i = 0 to Address.length - 6 do
begin
temp = copy(address, i, i + 6) //returns a substring of a string beginning at
//i and ending at i + 6
if temp = 'Avenue' then
return i;
end;
Kurisu
answered
Nov 29, 2019
by
Kurisu
4.8k
points
ask related question
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
Ask a Question
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.
6.5m
questions
8.6m
answers
Other Questions
10 points Wireframing and storyboarding are helpful in which step of web development? Advertising Planning Printing Publishing
If a website ends with .gov does it mean that its written by the government or?
To group option buttons so that selecting one deselects all of the others, you must make the ____ attribute the same.
Harrison worked on a spreadsheet to show market trends of various mobile devices. The size of the file has increased because Harrison used a lot of graphs and charts. Which file extension should he use
What protocol must be supported by routers in order to utilize remote assistance easy connect?
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search QAmmunity.org