News
Ultimarc
Emu Loader
Programming
MAME Artwork
progetto-SNAPS
MAMEUI
HBMAME
EmuChat
Hardware
The Loony Bin
MAME Artwork X
Entrance
|
Main Index
|
Search
|
New user
|
Login
|
Who's Online
|
FAQ
|
Rules
MAMEWorld
>>
The Loony Bin
Previous
Index
Next
Threaded
Pages: 1
lharms
MAME Fan
Reged: 01/07/06
Posts: 908
Send PM
grrr
#362750 - 01/21/17 12:36 AM
Reply
std::string why you no have ltrim and rtrim?!!
krick
Get Fuzzy
Reged: 02/09/04
Posts: 4235
Send PM
Re: grrr
[Re:
lharms
]
#362762 - 01/21/17 07:42 AM
Reply
http://stackoverflow.com/questions/216823/whats-the-best-way-to-trim-stdstring
GroovyMAME support forum on BYOAC
lharms
MAME Fan
Reged: 01/07/06
Posts: 908
Send PM
Re: grrr
[Re:
krick
]
#362764 - 01/21/17 09:21 AM
Reply
>
http://stackoverflow.com/questions/216823/whats-the-best-way-to-trim-stdstring
Went with a while loop, counter, and erase. Toyed with using regex. Went with something I can figure out later and didn't annoy me.
Pages: 1
MAMEWorld
>>
The Loony Bin
Previous
Index
Next
Threaded
Extra information
Permissions
Moderator:
GatKong
1 registered and 105 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 1253
Browser Test
|
Delete Cookies
atom-guru
atom-guru
atom-guru
atom-guru
UBB.threads™ 6.3.2