|
-
Oct 19th, 2000, 02:26 PM
#1
Thread Starter
Hyperactive Member
How do I format a big long string thats stuck in a variable to insert a character every so many characters.
Suedo code:
function(1ZillionCharacterString,",",5) returns XXXXX,XXXXX,XXXXX,XXXXX,...
-
Oct 19th, 2000, 02:38 PM
#2
This what you want?
Code:
ZillionCharacterString = "1000000000000000000000000"
MsgBox Format(ZillionCharacterString, "#####,#####,#####,#####,#####")
-
Oct 19th, 2000, 02:53 PM
#3
Thread Starter
Hyperactive Member
Hi Mat,
I don't want to format it that way because I would be making #'s forever and I'd also need to know the string length. Isn't there a function to do this?
-
Oct 19th, 2000, 03:14 PM
#4
To find out a string's length, use the Len function.
Code:
Msgbox Len("MyText")
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|