I want to extract 2 from the string in cell C3 and return it as the result of the function in cell E3:
Probably SPLIT is the wrong approach here.
Edit:
I replaced the 2 with s because some approaches work for numbers but not for letters:
I want to extract 2 from the string in cell C3 and return it as the result of the function in cell E3:
Probably SPLIT is the wrong approach here.
Edit:
I replaced the 2 with s because some approaches work for numbers but not for letters:
Try the following
=REGEXEXTRACT(A1,"\d")*1
Following OP's edit
=REGEXEXTRACT(A2,";(.*),")
Please read more about REGEXEXTRACT