Is there a built-in function to find the last space in a string? In other words, I want to search within a string from right to left.