I am using RefindNoCase to find the last occurrence of a string. This is the code I am using:
<cfset result= REfindNoCase('-[A-Z]{3}', variables.textBeforeFirstName, 1, "true")>
This is supposed to return an array with positions and length for each occurrence but it will return only the first one. On the specific string I have 3 occurrences and I will need only the last one. Because I wont know how many occurrences each string has, how I am supposed to get the last one?