Results 1 to 5 of 5

Thread: [resolved]shrink a string?

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2004
    Posts
    294

    [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.

  2. #2
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: shrink a string?

    What part do you want to delete? You could use str=left$(str,45) to get the left 45 characters.

  3. #3

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2004
    Posts
    294

    Re: [resolved]shrink a string?

    thanks for the help

  5. #5
    Frenzied Member
    Join Date
    Oct 2003
    Posts
    1,301

    Re: shrink a string?

    Quote 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
  •  



Click Here to Expand Forum to Full Width