|
-
Nov 5th, 2005, 02:00 PM
#1
Thread Starter
Hyperactive Member
[resolved]shrink a string?
is there a way to shrink a string like this:
httttttttttttttttttttttttdklfkgdlgkdlgk33333333333 (this is 50 characters long)
is there a way to shrink it to 45 characters?
Last edited by Whatupdoc; Nov 5th, 2005 at 10:20 PM.
-
Nov 5th, 2005, 02:01 PM
#2
Re: shrink a string?
What part do you want to delete? You could use str=left$(str,45) to get the left 45 characters.
-
Nov 5th, 2005, 02:23 PM
#3
Re: shrink a string?
If the string is typed into a textbox then you get set the MaxLength property to 45.
-
Nov 5th, 2005, 10:21 PM
#4
Thread Starter
Hyperactive Member
Re: [resolved]shrink a string?
-
Nov 5th, 2005, 11:13 PM
#5
Frenzied Member
Re: shrink a string?
 Originally Posted by dglienna
You could use str=left$(str,45) to get the left 45 characters.
And str=right$(str,45) gives you the right 45 characters
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
|