Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Remove Spaces (or other characters) from a String
#11
In a simple way:


Code: (Select All)
Check$ = "This is a string that we're going to check to see how long it would take to remove the spaces from."
Check1$ = "": For x = 1 To Len(Check$): If Mid$(Check$, x, 1) <> " " Then Check1$ = Check1$ + Mid$(Check$, x, 1):
Next x: Check$ = Check1$: Print Check$: Sleep
Why not yes ?
Reply


Messages In This Thread
RE: Remove Spaces (or other characters) from a String - by euklides - 12-31-2022, 12:21 PM



Users browsing this thread: 2 Guest(s)