| |
|
|
| explode(,irgendWas) must one aray with 0 (zero) Einträgen zurückliefern instead of with a entry... CompileMarkSeparationgives 1 from instead of 0. against: CompileMarkSeparationgives correctly 1 from.
trouble is particularly then gaudy, if the first Parameter of explode a Stringvariable is. then must one over case (sizeOf(myArr$[])=1) and (myArr$[0]=) as an afterthought correct - what not sense the Übung is. Kurzsyntax for o.g. example: CompileMarkSeparation |
|
|
| |
|
|
|
RGH | here there The detailed response: [...]
In all Kürze: no Error separate logical!
Please in future Doppelposts in Community and XProfan-Forum avoid, I not everything twice explain wants. (it reicht already, if the with of my daughter often vonnöten is ... )
Greeting Roland |
|
|
| Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 07/10/08 ▲ |
|
|
|
|
| RGH
here there The detailed response: [...] In all Kürze: no Error separate logical!
Hm, i see your Logik, faith but here remaining the train on halbem ways stand because the target is a Array and no String.
you should for drop, that the String Parameter 1 empty, a exception deklarieren and a aray zurückliefern OHNE Entries.
i want not others Languages or Umsetzungen pulsate The it correctly work out - but if the dispel of nothing EINEN entry created has one only Scherereien...
The Lesson of Explode is the dispel one Stringinhaltes in aray-Entries, no Stringinhalt no Entries.
If no String but ONE Entry (as now is) - then must one afterwards first again tests employ instead of simply sizeOf use to. the would not explode-senses.
The logische Error is imho: explode zerteilt a Stringinhalt, not a String. therefore is the Result too möglicherweise NULL instead of , namely if no Stringinhalt vorliegt because the target is no String, separate one aray.
The jetzige Umsetzung is unvorteilhaft and power not really a sense.
RGH
Please in future Doppelposts in Community and XProfan-Forum avoid, I not everything twice explain wants.
On none drop should You Mehrarbeit having (rather explode repair ;D ) - self-evident is it for me completely enough the in the Phorum To clarify and me here a manner Backup To hosten in the I you simply from the Forum herauszitiere. You can means completely wertungsfrei my here adjacent Posts as Backup missachten. |
|
|
| |
|
|
|
| RGH
I not everything twice explain wants. (it reicht already, if the with of my daughter often vonnöten is ... ) Greeting Roland
Perhaps not Töchter, but somehow are we here still everything your children.
so seen: |
|
|
| |
|
|
|
RGH | response: [...]
Greeting Roland |
|
|
| Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 07/10/08 ▲ |
|
|
|
|
| > Nochmal one Leerstring is ONE String and not kONE > String! and the incidentally in all Languages!
Hey - this is still completely clear! but therefore be I still not same blind...
explode zerteilt no String, separate STRINGINHALT. One String is a String OHNE CONTENT.
an function, which a Stringinhalt into aray konvertiert, must one aray with exakt NULL Einträgen produce if no CONTENT present is.
i know very what you mean - the follows too my first thoughts about - its but not To end virtual.
> but You canst you Yes gladly a function IfExplode() write, > The the power, what You benötigst:
The thing is the - The jetzige Variant sooner one rghExplode because it is not my suggestion which of normalen Explode abweicht - separate The previous Umsetzung from you.
I see too none benefit in the jetzigen rghExplode-Variante - the confused only and results in Fehlern. I see too none sense therein explode umzudefinieren. (though I already The tab held having in the reference hereon the You The Parameter vertauscht have) *g* |
|
|
| |
|
|
|
| Help help me Roland To help! |
|
|
| |
|
|
|
RGH | |
|
| Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 07/10/08 ▲ |
|
|
|
|
| RGH
Jupp!
rgh
> (who in several Languages program, ought to though on > duration no too large Problems having, that in different > Languages functions teils different hot, teils > different Parameterfolgen and have itself teils only in > small but important details discern.)
self-evident still.
I bemängele therefore the xprofansche Explode and would like solely hereon allude,
that it none makes sense a not vorhandenen Stringinhalt into aray To konvertieren which then EINEN entry aufweist.
the has then somehow too nothing more with XProfan to do. |
|
|
| |
|
|