I’ve updated my original answer, so
int number = FCString::Atoi(TEXT("Text...$$%$"))"
number will evaluate to int 0.