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

Possibly Related Threads…
Thread Author Replies Views Last Post
  Split String to Array Using Strtok (Attempt #2) SpriggsySpriggs 0 548 12-17-2024, 06:37 PM
Last Post: SpriggsySpriggs
  PrintW - print a long string, breaking it at the last space or hyphen before col. 79 TDarcos 21 4,106 04-22-2024, 09:52 PM
Last Post: Pete
  Fonts from String Patterns bplus 15 3,762 08-30-2023, 03:01 PM
Last Post: grymmjack
  String to Array AtomicSlaughter 1 761 02-13-2023, 10:11 PM
Last Post: mnrvovrfc
  Remove Spaces (or other characters) from a String George McGinn 10 2,972 12-31-2022, 12:21 PM
Last Post: euklides

Forum Jump:


Users browsing this thread: 2 Guest(s)