We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
SUBSTR (String, start, length) -> CITY is String & when we start index starts with 1 basically the length it depends u can select upto how much length u wanted to.
for ex: SUBSTR("LeaRn N Practice",3,5) -> so start at index 3 i.e., 'a' & continue till length of 5 i.e., (aRn N) is the o/p.
If u want all the charcaters of o/p to be in lower case use LOWER.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Weather Observation Station 9
You are viewing a single comment's thread. Return to all comments →
SUBSTR (String, start, length) -> CITY is String & when we start index starts with 1 basically the length it depends u can select upto how much length u wanted to.
for ex: SUBSTR("LeaRn N Practice",3,5) -> so start at index 3 i.e., 'a' & continue till length of 5 i.e., (aRn N) is the o/p.
If u want all the charcaters of o/p to be in lower case use LOWER.