This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

string trim not work fine?

Old posts that have not been replied to for several years.
Locked
R
ReWeNgE
Voice
Posts: 12
Joined: Tue Jun 24, 2003 6:35 am

string trim not work fine?

Post by ReWeNgE »

Hi,
i should remove from #12pro45va the char #12 and 45... .. how can i do?

i have tried to use "string trim" but not work fine... in fact remove only #12 but 45 no..

how can i do? :-?

thank you
Manuel
User avatar
stdragon
Owner
Posts: 959
Joined: Sun Sep 23, 2001 8:00 pm
Contact:

Post by stdragon »

string trim works from the ends of the string, not the middle. try 'string map' or 'regsub' instead.
R
ReWeNgE
Voice
Posts: 12
Joined: Tue Jun 24, 2003 6:35 am

string map?

Post by ReWeNgE »

I don't know "string map"... or is "string match" ?
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Consult the manual.
Once the game is over, the king and the pawn go back in the same box.
Locked