Public Function ReverseCharactersEveryWord( _ ByVal vPhrase As Variant _ , Optional ByVal vCharSeps As Variant _ ) As Variant
ReverseCharactersEveryWord("This is a test.") = "sihT si a .tset"See also:
ReverseString Function ReverseEveryNCharacters FunctionvPhrase: String containing the phrase in which each space-separated word will have its characters reversed. Function returns Null if vPhrase is Null or cannot be fixed up to a String.
vCharSeps: String containing characters which are considered to separate words. vCharSeps defaults to space, tab, carriage return, and line feed if it is missing or Null or cannot be fixed up to a String.
Gem: To reverse the words in a string, combine this function with ReverseString as in:
Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.