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.

Search found 2 matches

by soulfly
Wed Apr 26, 2006 3:31 am
Forum: Scripting Help
Topic: Replace $string1 with $string2
Replies: 3
Views: 4879

Oh thx, I already solved by problem. I used string map But can u tell me wich is faster? I have several options. Once it should replace * and ' ' (space) by a % (for the sql query) And other time it sould searchfor '(', ')', '-', '.', '_' replacew '', '', ' ', ' ', ' ' They are sorted as above + bel...
by soulfly
Tue Apr 25, 2006 11:59 pm
Forum: Scripting Help
Topic: Replace $string1 with $string2
Replies: 3
Views: 4879

Replace $string1 with $string2

Hey guy's. I was searching here for the replacement function.
But I found nothing, or I was too stupid to mange the Search :X

My problem is very simple, I think.
I want to replace * with % in $value
I tried regsub -all but it didn't worked.

Thanky you for any help.

greetz soulfly