Skip to main content

Mozilla

  • About
  • Foundation
  • Contribute
  • Community
  • Developers
  • Projects

  • Roadmap
  • Projects
  • Coding
    • Module Owners
    • Hacking
    • Get the Source
    • Build It
  • Testing
    • Releases
    • Nightly Builds
    • Report A Problem
  • Tools
    • Bugzilla
    • Tinderbox
    • Bonsai
    • MXR
  • FAQs

PUBLIC void INTL_MidTruncateString ( int16 winCharSetID, const char *input, char *output_return, int max_length )

Truncates a long string by replacing excess characters in the middle with "..."

Documentation

Truncates a long string by replacing excess characters in the middle with "...". The output_return pointer may be the same as the input pointer.
Parameters:
winCharSetID - Specifies the charset ID of the text
input - Specifies the text to be mid-truncated
output_return - Returns the mid-truncated text
max_length - Specifies the desired number of bytes to be placed in the output buffer, minus 1 for null terminator

alphabetic index hierarchy of classes


Copyright © 1998 Netscape Communications Corporation

generated by doc++


  • Support Options
  • Security Center
  • Privacy Policy
  • Contact Us

International Affiliates: Mozilla Europe - Mozilla Japan - Mozilla China

Portions of this content are © 1998–2008 by individual mozilla.org contributors
Content available under a Creative Commons license

Last modified April 16, 1998 Document History Edit this Page (or via CVS)