Nov 7, 2000 #1 flanakin Programmer Joined Mar 21, 2000 Messages 158 Location US I need to pad a string with spaces. How can I do this? Is there a function? Or, do I just need to create my own? Thanks in advance. Cid ciddivine@yahoo.com
I need to pad a string with spaces. How can I do this? Is there a function? Or, do I just need to create my own? Thanks in advance. Cid ciddivine@yahoo.com
Nov 7, 2000 #2 RobSchultz Programmer Joined Jun 1, 2000 Messages 444 Location US Cid, Use the Space function Code: <script language="vbscript"> Dim strSpaces strSpaces = Space(15) MsgBox("|" & strSpaces & "|") </script> Later, Rob robschultz@yahoo.com -Focus on the solution to the problem, not the obstacles in the way.- Upvote 0 Downvote
Cid, Use the Space function Code: <script language="vbscript"> Dim strSpaces strSpaces = Space(15) MsgBox("|" & strSpaces & "|") </script> Later, Rob robschultz@yahoo.com -Focus on the solution to the problem, not the obstacles in the way.-