in reply to How do i get string between
my $string = 'this is a test /test123?'; my ($before,$after) = split qr!/!, $string; chop $after; warn $after; [download]
-- Terence Parr, "Enforcing Strict Model View Separation in Template Engines"