기본 문법 jQuery.trim(str) .trim() 메서드 사용 예시 참고자료 : https://api.jquery.com/jQuery.trim/ jQuery.trim() | jQuery API Documentation Description: Remove the whitespace from the beginning and end of a string. Note: This API has been deprecated in jQuery 3.5; please use the native String.prototype.trim method instead. Unlike jQuery.trim, String.prototype.trim does not work with types othe api.jquery.com