sslug-teknik team mailing list archive
-
sslug-teknik team
-
Mailing list archive
-
Message #20634
Re: Simpelt PHP sp��l
TAK!! - det var guld :)
"Allan Jacobsen" <allan@xxxxxxxx> wrote in message
news:38DBA047.1B00A578@xxxxxxxx...
> "Morten Gade Sørensen" wrote:
> >
> > Hej!
> >
> > Hvordan får jeg alle chars minus 4 i slutningen af en variabel 'kortet
af'?
> > <-- (mærkelig forklaring :)
> >
> > Jeg ønsker:
> >
> > $REMOTE_ADDR = "192.168.123.123" forkortet til $rem_addr =
"192.168.123",
> > findes der ikke en funktion til at gøre det?
> >
> substr($sting,0,-4);
>
> --
> MVH / Best Regards
> Allan Jacobsen
> AJ17-RIPE, AJ274 (Internic)
> "Life is too short for Microsoft software"
>
Follow ups
References