或
str=str.replaceAll(" ","")
Powered by: 博客园 Copyright © 2024 我不是高手 Powered by .NET 9.0 on Kubernetes