从字符串中删除空格Save PDFSave selected topicSave selected topic and subtopicsSave all topicsShareShare to emailCopy topic URLLast UpdatedSep 24, 2024HMI and SCADASystem PlatformInTouch HMI 2026 在脚本中,可以使用 StringTrim() 函数从字符串中修剪掉前导与尾部空格(空白符)。您可以使用此函数在用户输入之后(举例而言)从字符串中删除多余的空格。 Related LinksStringTrim() 函数