string.listPrepend()
Inserts an element at the beginning of a list.
string.listPrepend( value=string, delimiters=string, includeEmptyFields=boolean )
Returns: String
Examples
fruits = "apple,mango-papaya,lemon,grapes,mango-Apple,Mango-apple,mango";
writeDump(fruits);
res = fruits.listprepend("jerry");
writeDump(res);
res = fruits.listprepend("tomato");
writeDump(res);
res = fruits.listprepend("tomato","-");
writeDump(res);