PRInt32 dash = lc_name.FindChar('-'); if (dash > 0) aCountry = Substring(lc_name, dash+1, lc_name.Length()-dash); else result = NS_ERROR_FAILURE;  return result;
aCountry.Assign(begin + 1, end - begin); #else PRInt32 i = lc_name.FindChar('-'); if (i == kNotFound) return NS_ERROR_FAILURE; aCountry = Substring(lc_name, i + 1, PR_UINT32_MAX); #endif return NS_OK;
getCountry(const nsAString& lc_name, nsAString& aCountry){  nsresult        result = NS_OK;  PRInt32 dash = lc_name.FindChar('-');  if (dash > 0)    aCountry = Substring(lc_name, dash+1, lc_name.Length()-dash);  else    result = NS_ERROR_FAILURE;  return result;}