manisha069 / HacktoberFest21

A beginner friendly repository for HacktoberFest 2021
43 stars 403 forks source link

Create evenString.java #515

Open vvksharrma opened 2 years ago

vvksharrma commented 2 years ago

Given a string of even length, return the first half. So the string "CatDog" yields "Cat". If the string length is odd number then return null.