Search ('all' for everything):
Search results:
center — position string at center
detab — replace tabs by blanks
display — display co-expression variables
entab — replace blanks by tabs
image — produce string image
left — position string at left
right — position string at right

Index of Function Types:
affects &pos
character sets
co-expressions
control structures
file processing
generators
infix operations
keywords
lists, sets and tables
math
metadata
output formatting
pattern matching
prefix operations
records
strings
windows and keyboards

Index of Subsystems:
base
digitcnt.icn
SNOBOL4 functions
 
position string at right
 
Description

s3 right(s1, i, s2)
right(s1, i, s2) produces a string of size i in which s1 is right justified, with s2 used for padding at the left as necessary.
 
Parameters
s1
string to be justified
i
length of result string
s2
padding sequence
returns
string padded to i length
 
Defaults
i
1
s2
" "
 
Errors
101 i is not integer
103 s1 or s2 is not a string
205 i<0
 
See Also
  • center — position string at center
  • left — position string at left