Re: Extracting text from string
- Got it!
($str1, $stri2) = split(/Xxxxxx. /, $L, 2);
--- In firstname.lastname@example.org, "markev_123" <markev_123@y...>
> Let's say I have a string that contains the following textwhich
> be any length.digits.
> " Yyyy. 0 Xxxxxx. 00000"
> I tried using the substr() without any success. Bascially I want to
> extract everything after "Xxxxxx. " which could be more than 5
> Because the "0" after "Yyyy. " can be more than one digit I
> use the substr().
> Is there something in Perl similar to a string decombine or where I
> can tell it to search for "Xxxxxx. " and pickup whatever follows it
> and put it into another string?