HackerRank - Cut #4
April - 25/2025Problem:
Display the first four characters from each line of text.
# Input
- Hello
- World
- How are you
# Output
- Hell
- Worl
- How
# Solution
cut -c 1-4
Post:
- - Cut #5;
cut -c 1-4