4 lines
79 B
TypeScript
4 lines
79 B
TypeScript
|
export const remove0x = (str: string) => {
|
||
|
return str.replace(/^0x/, '');
|
||
|
};
|