Eternius: String Objekt

Beitrag lesen

Hallo,

012345678901
123456789111111111122      <-- Zeichen
|||||||||||||||||||||
vvvvvvvvvvvvvvvvvvvvv

DonauDAMPFSCHIFFfahrt

^^^^^^^^^^^^^^^^^^^^^      <-- Index
|||||||||||||||||||||
012345678911111111112
          01234567890
     ^          ^

str.substring([Index],[Index]);
                 ^       ^
                 |hier wird begonnen: 5 == inclusive Index 5
                         |hier wird geendet: 16 == nicht inclusive Index 16

gruss

--
no strict;
no warnings;
79.78 cups of Coffee (Brewed) + Me = Death
<exal> BEI MIR KOMMT IMMER DIE EINS STATT EINEM AUSRUFEZEICHEN111 (http://german-bash.org/3361)