Trim whitespaces from a string?
|
2016-03-05, 01:42
Post: #1
|
|||
|
|||
Trim whitespaces from a string?
For some reason, Acer did store the manufacturer and product in my Acer Aspire One as:
Code: "Acer " And when outputting this to the screen, the added spaces look weird: Code: "Acer Aspire one boot menu" I found several settings types which convert the data, e.g. uristring, hex, etc. ... but I didn't find a way to just trim the excessive spaces. I found this discussion on the mailing list, but the mentioned trick doesn't work anymore and there's no other solution to the problem in that thread. There was also a proposal for a new "trim" command, but that's where the thread ended. Is there a way to trim whitespaces? |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Trim whitespaces from a string? - mbirth - 2016-03-05 01:42
RE: Trim whitespaces from a string? - robinsmidsrod - 2016-03-17, 13:21
RE: Trim whitespaces from a string? - sspans - 2016-05-24, 07:12
RE: Trim whitespaces from a string? - sspans - 2016-06-10, 13:56
|
User(s) browsing this thread: 1 Guest(s)