Skip to content

The open alternative to Salesforce, designed for AI.

127 B
Raw Blame
const NULL_CHAR_REGEX = /\0/g;

export const sanitizeString = (str: string) => {
  return str.replace(NULL_CHAR_REGEX, '');
};