| |
|
|
| Hello Roland,
mid$("Hallo",-2,2) gives unfortunately nothing from instead of lo -
be there sure of php::substr ( [...] ) verwöhnt.
If start not negative is, begins the zurückgegebene String on the take-off-position of string, started with 0 (zero). so is z.B. in the string 'abcdef' the characters on the position 0 same 'a', the characters on the position 2 is 'c' etc.
is start negative, begins the zurückgegebene String with the in start festgelegten characters of end of string from viewing.
from Kompatibilitätsgründen ought to mid$("Hallo",0,5) too "Hallo" spend as would the 1. Param 1. |
|
|
| |
|
|
|
RGH | sound after a sinnvollen expansion ...
Greeting Roland |
|
|
| XProfan X2Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 01/23/13 ▲ |
|
|
|
|
| Juhu. then vlt. yet whom XProfan::Explode-bow to fix -
there have You from slip both Parameter vertauscht ( [...] ) . |
|
|
| |
|
|
|
RGH | Hehe, i'll definitiv not The Parameter vertauschen. XProfan is now time no PHP!
but The Extension Mid$() is in the next Delivery thereby. ought to the negatives Parameter though on a position to the Stringbeginn show, becomes here (How with 0) the first characters as Beginn taken.
Greeting Roland |
|
|
| XProfan X2Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 01/23/13 ▲ |
|
|
|
|
| Nene, you have Yes The Parameter already vertauscht! |
|
|
| |
|
|