I'm trying to extrapolate year and month from a single string wich in the format mm/yyyy. I'm looking for a function where I can give in input the string, and the character I want for the string to stop being copied. I'd like it to return just the "mm" or "yyyy" part.
Is there any known function that does what I'm trying to do? Or should I just make it myself?