Implement a method my Trim( ) that takes a string as its parameter and returns a new string with all the whitespace characters removed from the beginning and end of the string. Do not use the String class’s trim( ) method. Instead, repeatedly call substring( ) to get shorter and shorter strings. Assume that whitespace characters are the space ' ', tab '\t', newline '\n', and return '\r' characters.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here