CAS 6


rotate
- Text

Summary

Rotate or reverse the characters in a text field.

Examples

rotate 'ABCDE' 
1 rotate 'ABCDE' 
 (-2) rotate 'ABCDE' 
rotate PAYHIST 
 (-4) rotate PAYHIST 
(-MONTHS) rotate PAYHIST 
 5 rotate PAYHIST  

Syntax

(RotateCount) rotate TextField

Left Arguments

Name Data Type Input Type Description Optional Default
MoveCount Numeric Constant Record-by-record rotation factor, Rounding multiple 0=do not round; Numeric Constant Non-negative Yes 1

Right Arguments

Name Data Type Input Type Description Optional Default
TextField Text Field, Constant Data No

Result

Type: Text

Modified text field



Build 6.0.624