note 118459 added to function.str-replace
| From: | netboy78 at gmail dot com | Date: | Thu, 10 Dec 2015 02:08:17 +0000 |
| Subject: | note 118459 added to function.str-replace | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-204318@lists.php.net to get a copy of this message | ||
can someone help me?
i have several link on database wordpress post desription like this:
domainname.com/123456-bla-bla-bla
domainname.com/234567-bla-bla-bla
domainname.com/454547-bla-bla-bla
how to remove all -bla-bla-bla from al link? this must just
domainname.com/123456
domainname.com/234567
domainname.com/454547
Please help..
----
Server IP: 72.52.91.14
Probable Submitter: 202.152.70.54
----
Manual Page -- http://php.net/manual/en/function.str-replace.php
Edit -- https://master.php.net/note/edit/118459
Del: integrated -- https://master.php.net/note/delete/118459/integrated
Del: useless -- https://master.php.net/note/delete/118459/useless
Del: bad code -- https://master.php.net/note/delete/118459/bad+code
Del: spam -- https://master.php.net/note/delete/118459/spam
Del: non-english -- https://master.php.net/note/delete/118459/non-english
Del: in docs -- https://master.php.net/note/delete/118459/in+docs
Del: other reasons-- https://master.php.net/note/delete/118459
Reject -- https://master.php.net/note/reject/118459
Search -- https://master.php.net/manage/user-notes.php