count = wholeString.split(searchString).length;\r
return count;\r
}\r
+ \r
+ /**\r
+ * Check the input data is empty or not\r
+ * \r
+ * @param strValue\r
+ * The input data which need be checked\r
+ * \r
+ * @retval true - The input data is empty\r
+ * @retval fals - The input data is not empty\r
+ * \r
+ */\r
+ public static boolean isEmpty(String strValue) {\r
+ if (strValue.length() > 0) {\r
+ return false;\r
+ }\r
+ return true;\r
+ }\r
}\r