[SOLVED] Removing part of string

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Shendemiar
Forum Contributor
Posts: 404
Joined: Thu Jan 08, 2004 8:28 am

Removing part of string

Post by Shendemiar »

$A="kalapaLIIkki";

something($A,'LII')="kalapakki"

How do i achieve this?

__________________________________

str_replace("LII","",$A);
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

The answer is in your sig.
Deemo
Forum Contributor
Posts: 418
Joined: Sun Jan 18, 2004 11:48 am
Location: Washington DC

Post by Deemo »

dont think thats his sig. if u look at the line, its a different length than the lines for my sig or urs sami
Shendemiar
Forum Contributor
Posts: 404
Joined: Thu Jan 08, 2004 8:28 am

Post by Shendemiar »

Deemo wrote:dont think thats his sig. if u look at the line, its a different length than the lines for my sig or urs sami
Yeah i meant to answer my own question to save troubles for others, but acidently i made it look just like a signature...

Anyway, it must be time for me to go to bed, since i just wrote my name in opera-mail-account-settings with $ in the beginning....

First Name:$Robert

Huh HUH!!
Post Reply