# MercanRey6.js — splitContact() (satır 117) [← MercanRey6.js](index.md) · [← Master](../../wiki.md) ```javascript 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) }; } ```