C++ Taskbook Level 3.2

Задание 1

Given an array of strings, output to the console only those strings that start with "http://".

Задание 2

A certain line is given.

cpp"1203405"

Find the position of the first zero in the string.

Задание 3

Given a line:

cpp"abcdef"

Get the last three characters of this string:

cpp"def"
Задание 4

Given an array:

cppint[] [1, 2, 3, 4, 5, 6]

Get the following slice from it:

cppint[] [3, 4, 5]
Задание 5

Given a line:

cppstd::string str = "abc def jhi";

Get an array of words from this string:

cppstd::string[] {"abc, "def", jhi"}
Задание 6

Given a line:

cpp"abc_abc_abc"

Replace all underscores with spaces:

cpp"abc abc abc"