nsresult        result = NS_OK;
if (begin == end) return NS_ERROR_FAILURE;
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;}