This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 2 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
如@selcuk所确定的,您的某些字符串包含空格。
您可以使用
str.Strip()
剥离Whitespaces(包括Newline)。它可以在您的情况下删除周围的环境(字符串之前或之后),您可以替换与此相关的bpm行(或周围有围墙周围的任何行)。
As identified by @Selcuk, some of your strings contains whitespaces.
You can strip whitespaces (that includes newline) by using
str.strip()
. It removes surrounding whitespaces (before or after the string)In your case, you can replace your BPM line (or any line that has whitespaces around it) with this.