When I am trying to split the string based on "--"(double hyphen) its also splitting the string contain "-" (single hyphen) **tempMessage="hello--Name:xyz";(its splitting this) and if the tempMessage = "e-mail" it is splitting this too **
<c: forEach var="message" items="${fn: split(tempMessage, '--')}" varStatus="tempLoop">
the code should split only when string contain "--"(double hyphen) its should not split when string has"-"(single hyphen)