Name the method and select Return value

Top  Previous  Next

Here's the Extract Method screen after renaming the method, renaming one parameter and checking a return value box:

 

 

lastDelimitedStringBeforePosition