There's no function to do this that I know of, but it's possible - albeit convoluted - with something like the following:
Code:
select
replace(
substring(
substring_index(val, '|', 2),
length(substring_index(val, '|', 1)) + 1
),
'|', ''
)
from sometable;
Where val is a char/varchar type in sometable.
I confirmed this worked with 26453|20110411 and 264531|20110411.