String Trim Method In Python Example Codes Of Java