Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
STRING$ empowered with StringPatternFilling
#3
Glitch in your code is here:

Function FillString2 (Size As Long, Bases As String, S As String)
    FillString2 = 0
    Dim posi As Long
    S = Space$(Size)
    posi = 0


Starting position should be 1, not 0.  Change that and it should fix the issue with return strings not matching.  Wink
Reply


Messages In This Thread
RE: STRING$ empowered with StringPatternFilling - by SMcNeill - 05-06-2025, 09:19 AM



Users browsing this thread: 2 Guest(s)