MAMEWorld >> The Loony Bin
Previous thread Previous  View all threads Index   Next thread Next   Threaded Mode Threaded  

Pages: 1

lharms
MAME Fan
Reged: 01/07/06
Posts: 908
Send PM


grrr
#362750 - 01/21/17 12:36 AM


std::string why you no have ltrim and rtrim?!!



krick
Get Fuzzy
Reged: 02/09/04
Posts: 4235
Send PM


Re: grrr new [Re: lharms]
#362762 - 01/21/17 07:42 AM


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 new [Re: krick]
#362764 - 01/21/17 09:21 AM


> 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 thread Previous  View all threads Index   Next thread Next   Threaded Mode Threaded  

Extra information Permissions
Moderator:  GatKong 
0 registered and 365 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 1244