string.listFirst()
Gets the first element of a list.
string.listFirst( delimiters=string, includeEmptyFields=boolean, count=number )
Returns: String
Examples
listEx1 = "one&two&three&four";
writedump(listEx1.listfirst('&'));
writeoutput("<br>");
listEx2 = "dev,LAS,lucee";
writedump(listEx2.listfirst(''));