485 B
485 B
MercanRey6.js — splitContact() (satır 117)
function splitContact(entry)
{
var text = String(entry == null ? "" : entry);
var index = text.lastIndexOf("#");
if (index < 0)
{
return {
name: text,
uuid: ""
};
}
return {
name: text.substring(0, index),
uuid: text.substring(index + 1)
};
}