<-- Previous || Up || Next -->

Rotate Words Left Function
String Words Class

Public Function RotateWordsLeft( _
    ByVal vValue As Variant _
    ) As Variant

Rotate/move the first word within the string vValue to the end of the string.

Examples:
    RotateWordsLeft("111 222 333") = "222 333 111"
    RotateWordsLeft("This is a test.") = "is a test. This"
    RotateWordsLeft("This  is a test.") = " is a test. This"
    RotateWordsLeft(" is a test. This") = "is a test. This " ' Warning!
See also:
    RotateWordsRight Function
    ShiftWordsLeft Function
vValue: String containing the phrase which is to have its first space-separated word moved to the end of the string. Function returns Null if vValue is Null or cannot be fixed up to a String.

Note: Function uses the built-in character classification routines to determine which characters represent spaces.

Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.