MAMEWorld >> EmuChat
Previous thread Previous  View all threads Index   Next thread Next   Flat Mode Flat  

ShimaPong
MAME Fan
Reged: 03/12/05
Posts: 783
Send PM
Question of astring trimspace()
10/23/10 06:53 PM


I test the following code.

Quote:



{
astring temp = "This Is Test Strings !";
temp.trimspace();
printf("%s\n",temp.cstr());
}




But printed message is the same as original, not "ThisIsTestStrings!" I expected.
I think trimspace() is "remove all whitespace" though result is different.
What purpose does this function? And what astring function do I use instead of it?


"Any company has no power to stop people emulating"
MAME is the emulator of no giving in the pressure from any company even if they don't allow







Entire thread
Subject Posted by Posted on
* Question of astring trimspace() ShimaPong 10/23/10 06:53 PM
. * Re: Question of astring trimspace() drewcifer  10/23/10 07:01 PM
. * Re: Question of astring trimspace() ShimaPong  10/23/10 07:40 PM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 164 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 1519