Update substr method in text utilities
What does this MR do?
In the course of working on !18874 (merged), I noticed that the truncateSha
function is using the legacy/non-recommended String.prototype.substr()
method. This updates it to use String.prototype.substring()
Screenshots
Does this MR meet the acceptance criteria?
Conformity
Availability and Testing
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process.
Edited by Sarah Groff Hennigh-Palermo