Пропустить основной контент

//ERDDAP/com.cohort.util/ScriptString2/right

right

[JVM]
open fun right(s: String, length: Int): String

Returns a String 'length' long, with 's' right-justified (using spaces as the added characters) within the resulting String. If s is already longer, then there will be no change.

Return

's' right-justified to make the result 'length' long.

Parameters

JVM

sis the string to be right-justified.
lengthis desired length of the resulting string.