*
* @endcode
*/
- static ImmutableString Format(int length, const wchar_t* pFormat, ...) const;
+ static ImmutableString Format(int length, const wchar_t* pFormat, ...);
/**
* Gets the character at the specified position.
* @exception E_SUCCESS The method is successful.
* @exception E_OUT_OF_RANGE Either of the following conditions has occurred:
* - The specified @c indexAt is either greater than or equal to the length of the current instance.
- * - The specified @c indexAt is less than @c 0.
+ * - The specified @c indexAt is less than @c 0.
* @remark This method does not guarantee a usable value of out-parameter when an error occurs.
*/
result GetCharAt(int indexAt, wchar_t& ch) const;
* @exception E_OBJ_NOT_FOUND The specified character is not found.
* @exception E_OUT_OF_RANGE Either of the following conditions has occurred:
* - The specified @c startIndex is either greater than or equal to the length of the current instance.
- * - The specified @c startIndex is less than @c 0.
+ * - The specified @c startIndex is less than @c 0.
* @remark This method does not guarantee a usable value of out-parameter when an error occurs.
*/
result IndexOf(wchar_t ch, int startIndex, int& indexOf) const;
* @exception E_OBJ_NOT_FOUND The specified string is not found.
* @exception E_OUT_OF_RANGE Either of the following conditions has occurred:
* - The specified @c startIndex is either greater than or equal to the length of the current instance.
- * - The specified @c startIndex is less than @c 0.
+ * - The specified @c startIndex is less than @c 0.
* @remark This method does not guarantee a usable value of out-parameter when an error occurs.
*/
result IndexOf(const ImmutableString& str, int startIndex, int& indexOf) const;
* @exception E_SUCCESS The method is successful.
* @exception E_OUT_OF_RANGE Either of the following conditions has occurred:
* - The specified @c indexAt is either greater than or equal to the length of the current instance.
- * - The specified @c indexAt is less than @c 0.
+ * - The specified @c indexAt is less than @c 0.
* @remark This method returns an empty string when an exception occurs.
*/
ImmutableString Insert(const ImmutableString& str, int indexAt) const;
* @exception E_OBJ_NOT_FOUND The specified character is not found.
* @exception E_OUT_OF_RANGE Either of the following conditions has occurred:
* - The specified @c startIndex is either greater than or equal to the length of the current instance.
- * - The specified @c startIndex is less than @c 0.
+ * - The specified @c startIndex is less than @c 0.
* @remark This method does not guarantee a usable value of out-parameter when an error occurs.
* @code
*
* @exception E_OBJ_NOT_FOUND The specified character is not found.
* @exception E_OUT_OF_RANGE Either of the following conditions has occurred:
* - The specified @c startIndex is either greater than or equal to the length of the current instance.
- * - The specified @c startIndex is less than @c 0.
+ * - The specified @c startIndex is less than @c 0.
*
* @remarks
* - If the substring is empty, E_SUCCESS is returned and the value of @c indexOf is set to @c startIndex.
* @exception E_SUCCESS The method is successful.
* @exception E_OUT_OF_RANGE Either of the following conditions has occurred:
* - The specified @c startIndex is either greater than or equal to the length of the current instance.
- * - The specified @c startIndex is less than @c 0.
+ * - The specified @c startIndex is less than @c 0.
* - The specified @c length is greater than the length of the substring starting from @c startIndex.
- * - The specified @c length is less than @c 0.
+ * - The specified @c length is less than @c 0.
* @remark This method returns an empty string when an exception occurs.
*/
ImmutableString Remove(int startIndex, int length) const;
* @exception E_INVALID_ARG The specified @c original is an empty string.
* @exception E_OUT_OF_RANGE Either of the following conditions has occurred:
* - The specified @c startIndex is either greater than or equal to the length of the current instance.
- * - The specified @c startIndex is less than @c 0.
+ * - The specified @c startIndex is less than @c 0.
* @remark This method returns an empty string when an exception occurs.
*/
ImmutableString Replace(const ImmutableString& original, const ImmutableString& replace, int startIndex) const;
* @exception E_SUCCESS The method is successful.
* @exception E_OUT_OF_RANGE Either of the following conditions has occurred:
* - The specified @c indexAt is either greater than or equal to the length of the current instance.
- * - The specified @c indexAt is less than @c 0.
+ * - The specified @c indexAt is less than @c 0.
* @remark This method returns an empty string when an exception occurs.
*/
ImmutableString SetCharAt(wchar_t ch, int indexAt) const;
* @exception E_SUCCESS The method is successful.
* @exception E_OUT_OF_RANGE Either of the following conditions has occurred:
* - The specified @c startIndex is either greater than or equal to the length of the current instance.
- * - The specified @c startIndex is less than @c 0.
+ * - The specified @c startIndex is less than @c 0.
*/
bool StartsWith(const ImmutableString& str, int startIndex) const;
* @exception E_SUCCESS The method is successful.
* @exception E_OUT_OF_RANGE Either of the following conditions has occurred:
* - The specified @c startIndex is either greater than or equal to the length of the current instance.
- * - The specified @c startIndex is less than @c 0.
+ * - The specified @c startIndex is less than @c 0.
* @remark This method returns an empty string when an exception occurs.
*/
ImmutableString SubString(int startIndex) const;
* @exception E_SUCCESS The method is successful.
* @exception E_OUT_OF_RANGE Either of the following conditions has occurred:
* - The specified @c startIndex is either greater than or equal to the length of the current instance.
- * - The specified @c startIndex is less than @c 0.
+ * - The specified @c startIndex is less than @c 0.
* - The specified @c length is greater than the length of the substring starting from @c startIndex.
- * - The specified @c length is less than @c 0.
+ * - The specified @c length is less than @c 0.
* @remark This method returns an empty string when an exception occurs.
*/
ImmutableString SubString(int startIndex, int length) const;