HackerRank - Cut #3

April - 25/2025

Problem:

Display a range of characters starting at the 2nd position of a string and ending at the 7th position (both positions included).

# Input

# Output

# Solution

            
    cut -c 2-7
    

# Solution_01

            
    while read line
    do
        echo "$line" | cut -c 2-7;
    done
        

Post: