Jump to content

Repeat a string: Difference between revisions

m
(→‎{{header|NetRexx}}: Demonstrate other functions)
Line 720:
say ' RIGHT:' sampleChr.right(5, sampleChr)
say ' CENTRE:' sampleChr.centre(5, sampleChr)
say ' OVERLAY:' sampleChr.overlay(sampleChr, 1, 5, sampleChr)
say ' SUBSTR:' ''.substr(1, 5, sampleChr)
say 'TRANSLATE:' '.....'.translate(sampleChr, '.')
say ' OVERLAY:' sampleChr.overlay(sampleChr, 1, 5, sampleChr)
</lang>
 
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.