Public Function SplitStrings( _ ByRef rOddPosChars As Variant _ , ByRef rEvenPosChars As Variant _ , ByVal vValue As Variant _ ) As Boolean
Dim strOdd As String Dim strEvn As String SplitStrings(strOdd, strEvn, "123456789") is more efficient than strOdd = CharacterEveryNthCharacter("123456789", 1, 2) strEvn = CharacterEveryNthCharacter("123456789", 2, 2) After these examples strOdd = "13579" strEvn = "2468"See also:
MergeStrings Function CharacterEveryNthCharacter Function SplitStringsSample SubroutinerOddPosChars: The String or Variant which is to receive the vValue characters in odd-numbered positions.
Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.