Html http://emptycharacter.com/ 不能';t修剪空字符值

Html http://emptycharacter.com/ 不能';t修剪空字符值,html,angular,Html,Angular,如果我从这个站点复制空字符并粘贴,我就不能修剪空字符值,这样我就可以将空字符保存在文件夹中 http://emptycharacter.com/ if (this.utilService.isUndefined(this.name) || (!this.utilService.isUndefined(this.name) && this.utilService.isUndefined(name.trim()))) { console.log("ERROR") }; 如果

如果我从这个站点复制空字符并粘贴,我就不能修剪空字符值,这样我就可以将空字符保存在文件夹中

http://emptycharacter.com/ 


if (this.utilService.isUndefined(this.name) || (!this.utilService.isUndefined(this.name) &&
 this.utilService.isUndefined(name.trim()))) { console.log("ERROR") };
如果里面有空的地方,我就能抓住它


我希望你们能帮忙

你们能帮我写点代码吗?您希望允许存储哪种类型的数据?我已经更新了代码空间,空字符完全不同。所以你不想只允许空格或是空字符吗?你能不能放一些有角度的代码?您希望允许存储哪种类型的数据?我已经更新了代码空间,空字符完全不同。所以你不想只允许空格或者也允许空字符?