QT怎么去掉字符串中的空格

QT如何去掉字符串中的空格这里给大家介绍QString中的两个函数1.QString QString::simplified() constRetur

QT如何去掉字符串中的空格

这里给大家介绍QString中的两个函数

1.QString QString::simplified() const

Returns a string that has whitespace removed from the start and the end, and that has each sequence of internal whitespace replaced with a single space.