Searched refs:acronym (Results 1 – 1 of 1) sorted by relevance
3380 val acronym = getFirstAcronym(s) ?: return s in <lambda>() constant3381 val index = s.indexOf(acronym) in <lambda>()3387 s = if (index == s.length - acronym.length) { in <lambda>()3389 val decapitalized = acronym[0] + acronym.substring(1).toLowerCase(Locale.US) in <lambda>()3390 s.replace(acronym, decapitalized) in <lambda>()3392 val replacement = acronym[0] + acronym.substring( in <lambda>()3394 acronym.length - 1 in <lambda>()3395 ).toLowerCase(Locale.US) + acronym[acronym.length - 1] in <lambda>()3396 s.replace(acronym, replacement) in <lambda>()