Checks if a string is empty (ie is null or empty).
(String str)
| 187 | * Checks if a string is empty (ie is null or empty). |
| 188 | */ |
| 189 | public static boolean isEmpty(String str) { |
| 190 | return (str == null) || (str.equals("")); |
| 191 | } |
| 192 | |
| 193 | /** |
| 194 | * Takes in a String value and cleans out any offending "�" |