Thread index() & reguläre Ausdrücke (15 answers)
Opened by Kalmuecke at 2007-02-28 16:28

topeg
 2007-02-28 17:02
#74691 #74691
User since
2006-07-10
2611 Artikel
BenutzerIn

user image
So kann man es machen:
Code (perl): (dl )
 my $pos=length((split(/\d+:/,$string,2))[0]);

View full thread index() & reguläre Ausdrücke