Changeset 16326 in vbox
- Timestamp:
- Jan 28, 2009 6:37:23 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 42161
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/com/string.h
r16324 r16326 7 7 8 8 /* 9 * Copyright (C) 2006-200 7Sun Microsystems, Inc.9 * Copyright (C) 2006-2009 Sun Microsystems, Inc. 10 10 * 11 11 * This file is part of VirtualBox Open Source Edition (OSE), as … … 502 502 static const size_t npos; 503 503 504 /** 505 * Returns a substring of "this" as a new Utf8Str. Works exactly like 506 * its equivalent in std::string except that this interprets pos and n 507 * as UTF-8 codepoints instead of bytes. With the default parameters "0" 508 * and "npos", this always copies the entire string. 509 * @param pos Index of first codepoints to copy from "this", counting from 0. 510 * @param n Number of codepoints to copy, starting with the one at "pos". 511 */ 504 512 Utf8Str substr(size_t pos = 0, size_t n = npos) const; 505 513
Note:
See TracChangeset
for help on using the changeset viewer.