| |
|
|
 | Hola Roland,
mid$("Hallo",-2,2) son desafortunadamente nichts de en lugar de lo -
bin como sicherlich de php::substr ( [...] ) verwöhnt.
Wenn start no negativo es, beginnt el zurückgegebene String a el start-Position de cadena, angefangen en 0 (Null). So es z.B. en el String 'abcdef' el Signo a el Position 0 igual 'a', el Signo a el Position 2 es 'c' usw.
Ist start negativo, beginnt el zurückgegebene String en el en start festgelegten Signo vom Ende de cadena de betrachtet.
Aus Kompatibilitätsgründen debería mid$("Hallo",0,5) auch "Hallo" ausgeben como wäre el 1. Param 1. |
|
|
| |
|
|
|
 RGH | Klingt después de uno sinnvollen Erweiterung ...
Saludo 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 | 23.01.2013 ▲ |
|
|
|
|
 | Juhu. Dann vlt. todavía el XProfan::Explode-Bug beheben -
como hast Usted de Versehen beide Parámetro vertauscht ( [...] ) .  |
|
|
| |
|
|
|
 RGH | Hehe, Yo voluntad definitiv no el Parámetro vertauschen. XProfan es nun veces kein PHP! 
Aber el Erweiterung de Mid$() es en el nächsten Lieferung esta. Sollte el negative Parámetro allerdings en una Position antes el Stringbeginn zeigen, se auch hier (como en 0) el erste Signo como Beginn genommen.
Saludo 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 | 23.01.2013 ▲ |
|
|
|
|
 | Nene, Usted hast sí el Parámetro ya vertauscht!  |
|
|
| |
|
|