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.
Old posts that have not been replied to for several years.
cerberus_gr
Halfop
Posts: 97 Joined: Fri Feb 07, 2003 8:57 am
Location: 127.0.0.1
Post
by cerberus_gr » Sat Feb 07, 2004 2:32 pm
Hello,
I have this value on an array:
{Data1:Data2:Data3:Data4:Data5}
and I want to cut the { and } characters, but maybe one or more of the Data* to contain one of these ({ or }) characters. How have to use the string trimleft|trimright commands?
Thx
stdragon
Owner
Posts: 959 Joined: Sun Sep 23, 2001 8:00 pm
Contact:
Post
by stdragon » Sat Feb 07, 2004 5:50 pm
If it's always in that form, why not do
string range $data 1 end-1
cerberus_gr
Halfop
Posts: 97 Joined: Fri Feb 07, 2003 8:57 am
Location: 127.0.0.1
Post
by cerberus_gr » Fri Feb 13, 2004 5:40 pm
I'm such an idiot
. Thx