Anonymous user
Repeat a string: Difference between revisions
m
→{{header|NetRexx}}
(→{{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>
|