The Mozilla
Organization
At A Glance
Feedback
Get Involved
Newsgroups
License Terms
Newsbot
Developer Docs
Roadmap
Projects
Ports
Module Owners
Hacking
Get the Source
Build It
Testing
Download
Bugzilla
Bug Writing
Tools
View Source
Tree Status
New Checkins
Submit A Bug
FAQ
Search

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++

Copyright © 1998-2000 The Mozilla Organization.
Last modified April 17, 1998.