Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> --- usunieto przez autora ---
lunter
post
Post #1





Grupa: Zablokowani
Postów: 64
Pomógł: 0
Dołączył: 29.04.2004

Ostrzeżenie: (60%)
XXX--


--- usunieto przez autora ---

Ten post edytował lunter 20.08.2005, 22:46:19
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 2)
Liko
post
Post #2





Grupa: Zarejestrowani
Postów: 436
Pomógł: 6
Dołączył: 8.11.2003
Skąd: Szczecin

Ostrzeżenie: (0%)
-----


  1. <?php
  2. $value = 'aaaaaa aaa aaa aaaaa aaaaa aa aa a ';
  3.  
  4. print( str_replace( 'aa', 'a a', str_replace( 'aa', 'a a', $value ) ) );
  5. ?>
Go to the top of the page
+Quote Post
maker
post
Post #3





Grupa: Zarejestrowani
Postów: 50
Pomógł: 0
Dołączył: 17.09.2004

Ostrzeżenie: (0%)
-----


  1. <?php
  2. $i='aaa aaaa bbaaaabaaaa';
  3. $i = preg_replace('#(aa*?)#si', ' 1', $i);
  4. print($i);
  5. ?>


Kod
a a a a a a a bb a a a ab a a a a


Ten post edytował maker 26.05.2005, 18:17:32
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 23.08.2025 - 09:09