mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
4 lines
108 B
TypeScript
4 lines
108 B
TypeScript
|
|
export function getNewLineCount(message: string): number {
|
|
return message.split(/\r\n|\r|\n/).length;
|
|
} |