Represents text as a sequence of character units.
Public Member Functions | |
| auto | is_empty () const noexcept -> bool |
| Name Public Deprecated Methods. | |
| object ()=default | |
| Create a new instance of the ultimate base class object. | |
| virtual type_object | get_type () const noexcept |
| Gets the type of the current instance. | |
| template<typename object_t> | |
| xtd::unique_ptr_object< object_t > | memberwise_clone () const |
| Creates a shallow copy of the current object. | |
| virtual auto | begin () const -> const_iterator |
| Returns an iterator to the first element of the enumerable. | |
| virtual auto | cbegin () const -> const_iterator |
| Returns an iterator to the first element of the enumerable. | |
| virtual auto | cend () const -> const_iterator |
| Returns an iterator to the element following the last element of the enumerable. | |
| virtual auto | end () const -> const_iterator |
| Returns an iterator to the element following the last element of the enumerable. | |
| auto | aggregate (const std::function< char_t(const char_t &, const char_t &)> &func) const -> char_t |
| Applies an accumulator function over a sequence. | |
| auto | all (const std::function< bool(const char_t &)> &predicate) const -> bool |
| Determines whether all elements of a sequence satisfy a condition. | |
| auto | any () const noexcept -> bool |
| Determines whether a sequence contains any elements. | |
| auto | append (const char_t &element) const noexcept |
| Appends a value to the end of the sequence. | |
| auto | as_enumerable () const noexcept |
| Returns the input typed as xtd::collections::generic::ienumerable <type_t>. | |
| auto | average () const noexcept |
| Computes the average of a sequence of source_t values. | |
| auto | cast () const noexcept |
| Casts the elements of an xtd::collections::generic::ienumerable to the specified type. | |
| auto | chunk (xtd::size size) const |
| Splits the elements of a sequence into chunks of size at most size. | |
| auto | concat (const ienumerable< char_t > &second) const noexcept |
| Concatenates two sequences. | |
| auto | contains (const char_t &value) const noexcept -> bool |
| Determines whether a sequence contains a specified element by using the default equality comparer. | |
| auto | count () const noexcept -> xtd::size |
| Returns the number of elements in current sequence. | |
| auto | count_by (const std::function< key_t(const char_t &)> &key_selector) const noexcept |
| Returns the count of elements in the current sequence grouped by key. | |
| auto | default_if_empty () const noexcept |
| Returns the elements of the specified sequence or the type parameter's default value in a singleton collection if the current sequence is empty. | |
| auto | distinct () const noexcept |
| Returns distinct elements from a sequence by using the default equality comparer to compare values. | |
| auto | first_or_default (const std::function< bool(const char_t &)> &predicate, const char_t &default_value) const noexcept -> char_t |
| Returns the first element of the sequence that satisfies a condition, or a specified default value if no such element is found. | |
| auto | order () const |
| Sorts the elements of a sequence in ascending order. | |
| auto | order_by (const std::function< char_t(const char_t &)> &key_selector) const |
| Sorts the elements of a sequence in ascending order according to a key. | |
| auto | order_by_descending (const std::function< key_t(const char_t &)> &key_selector) const |
| Sorts the elements of a sequence in descending order according to a key. | |
| auto | select (const std::function< result_t(const char_t &)> &selector) const |
| Projects each element of a sequence into a new form. | |
| auto | to_array () const noexcept -> xtd::array< char_t > |
| Creates a xtd::array <type_t> from an xtd::collections::generic::ienumerable <type_t>. | |
| auto | to_list () const noexcept -> xtd::collections::generic::list< char_t > |
| Creates a xtd::collections::generic::list <type_t> from an xtd::collections::generic::ienumerable <type_t>. | |
| auto | where (const std::function< bool(const char_t &)> &predicate) const |
| Filters a sequence of values based on a predicate. | |
Static Public Member Functions | |
| template<typename object_t> | |
| static auto | class_name () -> basic_string |
| Gets the class name of the object_t. | |
| template<typename object_t> | |
| static auto | class_name (const object_t &object) -> basic_string |
| Gets the class name of the specified object. | |
| static auto | class_name (const std::type_info &info) -> basic_string |
| Gets the class name of the specified object. | |
| template<typename object_t> | |
| static auto | full_class_name () -> basic_string |
| Gets the fully qualified class name of the objec_t, including the namespace of the objec_t. | |
| template<typename object_t> | |
| static auto | full_class_name (const object_t &object) -> basic_string |
| Gets the fully qualified class name of the specified object, including the namespace of the specified object. | |
| static auto | full_class_name (const std::type_info &info) -> basic_string |
| Gets the fully qualified class name of the specified object, including the namespace of the specified object. | |
| template<typename object_a_t, typename object_b_t> | |
| static bool | equals (const object_a_t &object_a, const object_b_t &object_b) noexcept |
| Determines whether the specified object instances are considered equal. | |
| template<typename object_a_t, typename object_b_t> | |
| static bool | reference_equals (const object_a_t &object_a, const object_b_t &object_b) noexcept |
| Determines whether the specified object instances are the same instance. | |
| static auto | to_const_iterator (typename source_collection_t::const_iterator &value, const source_collection_t &source_collection, const target_collection_t &target_collection) noexcept -> typename target_collection_t::const_iterator |
| Converts source iterator to target iterator. | |
| static auto | to_iterator (typename source_collection_t::const_iterator &value, const source_collection_t &source_collection, const target_collection_t &target_collection) noexcept -> typename target_collection_t::const_iterator |
| Converts source iterator to target iterator. | |
Public Aliases | |
| using | base_type |
| Represents the basic string base type. | |
| using | traits_type |
| Represents the basic string traits type. | |
| using | value_type |
| Represents the basic string value type. | |
| using | allocator_type |
| Represents the basic string allocator type. | |
| using | size_type |
| Represents the basic string size type. | |
| using | difference_type |
| Represents the basic string difference type. | |
| using | reference |
| Represents the basic string referecne type. | |
| using | const_reference |
| Represents the basic string const referecne type. | |
| using | pointer |
| Represents the basic string pointer type. | |
| using | const_pointer |
| Represents the basic string const pointer type. | |
| using | iterator |
| Represents the basic string iterator type. | |
| using | const_iterator |
| Represents the basic string const iterator type. | |
| using | reverse_iterator |
| Represents the basic string reverse iterator type. | |
| using | const_reverse_iterator |
| Represents the basic string const reverse iterator type. | |
| using | enumerator_type |
| Represents the basic string enumerator type. | |
Public Fields | |
| static const basic_string | empty_string |
| Represents the empty basic_string. | |
| static constexpr size_type | npos |
| Represents a value that is not a valid position in a collection. | |
| static constexpr xtd::size | bpos |
| Represents the index of the first valid element in a collection. | |
| static constexpr xtd::size | epos |
| Represents the index of the last valid element in a collection. | |
Public Operators | |
| auto | operator[] (xtd::size index) const -> const_reference |
| Returns a reference to the character at specified location index. | |
| operator const base_type & () const noexcept | |
| Returns a reference to the underlying base type. | |
| auto | operator= (const basic_string< char > &str) noexcept -> basic_string & |
| Copy assignment operator. Replaces the contents with a copy of the contents of str. | |
| auto | operator= (const basic_string< xtd::char16 > &str) noexcept -> basic_string & |
| Copy assignment operator. Replaces the contents with a copy of the contents of str. | |
| auto | operator= (const basic_string< xtd::char32 > &str) noexcept -> basic_string & |
| Copy assignment operator. Replaces the contents with a copy of the contents of str. | |
| auto | operator= (const basic_string< xtd::char8 > &str) noexcept -> basic_string & |
| Copy assignment operator. Replaces the contents with a copy of the contents of str. | |
| auto | operator= (const basic_string< xtd::wchar > &str) noexcept -> basic_string & |
| Copy assignment operator. Replaces the contents with a copy of the contents of str. | |
| auto | operator= (basic_string< char > &&str) noexcept -> basic_string & |
| Move assignment operator. Replaces the contents with those of other using move semantics (i.e. the data in str is moved from str into this string). str is in a valid but unspecified state afterwards. | |
| auto | operator= (basic_string< xtd::char16 > &&str) noexcept -> basic_string & |
| Move assignment operator. Replaces the contents with those of other using move semantics (i.e. the data in str is moved from str into this string). str is in a valid but unspecified state afterwards. | |
| auto | operator= (basic_string< xtd::char32 > &&str) noexcept -> basic_string & |
| Move assignment operator. Replaces the contents with those of other using move semantics (i.e. the data in str is moved from str into this string). str is in a valid but unspecified state afterwards. | |
| auto | operator= (basic_string< xtd::char8 > &&str) noexcept -> basic_string & |
| Move assignment operator. Replaces the contents with those of other using move semantics (i.e. the data in str is moved from str into this string). str is in a valid but unspecified state afterwards. | |
| auto | operator= (basic_string< xtd::wchar > &&str) noexcept -> basic_string & |
| Move assignment operator. Replaces the contents with those of other using move semantics (i.e. the data in str is moved from str into this string). str is in a valid but unspecified state afterwards. | |
| auto | operator= (const std::basic_string< char > &str) noexcept -> basic_string & |
| Copy assignment operator. Replaces the contents with a copy of the contents of str. | |
| auto | operator= (const std::basic_string< xtd::char16 > &str) noexcept -> basic_string & |
| Copy assignment operator. Replaces the contents with a copy of the contents of str. | |
| auto | operator= (const std::basic_string< xtd::char32 > &str) noexcept -> basic_string & |
| Copy assignment operator. Replaces the contents with a copy of the contents of str. | |
| auto | operator= (const std::basic_string< xtd::char8 > &str) noexcept -> basic_string & |
| Copy assignment operator. Replaces the contents with a copy of the contents of str. | |
| auto | operator= (const std::basic_string< xtd::wchar > &str) noexcept -> basic_string & |
| Copy assignment operator. Replaces the contents with a copy of the contents of str. | |
| auto | operator= (std::basic_string< char > &&str) noexcept -> basic_string & |
| Copy assignment operator. Replaces the contents with a copy of the contents of str. | |
| auto | operator= (std::basic_string< xtd::char16 > &&str) noexcept -> basic_string & |
| Copy assignment operator. Replaces the contents with a copy of the contents of str. | |
| auto | operator= (std::basic_string< xtd::char32 > &&str) noexcept -> basic_string & |
| Copy assignment operator. Replaces the contents with a copy of the contents of str. | |
| auto | operator= (std::basic_string< xtd::char8 > &&str) noexcept -> basic_string & |
| Copy assignment operator. Replaces the contents with a copy of the contents of str. | |
| auto | operator= (std::basic_string< xtd::wchar > &&str) noexcept -> basic_string & |
| Copy assignment operator. Replaces the contents with a copy of the contents of str. | |
| auto | operator= (const char *str) -> basic_string & |
| Copy assignment operator. Replaces the contents with a copy of the contents of str. | |
| auto | operator= (const xtd::char16 *str) -> basic_string & |
| Copy assignment operator. Replaces the contents with a copy of the contents of str. | |
| auto | operator= (const xtd::char32 *str) -> basic_string & |
| Copy assignment operator. Replaces the contents with a copy of the contents of str. | |
| auto | operator= (const xtd::char8 *str) -> basic_string & |
| Copy assignment operator. Replaces the contents with a copy of the contents of str. | |
| auto | operator= (const xtd::wchar *str) -> basic_string & |
| Copy assignment operator. Replaces the contents with a copy of the contents of str. | |
| auto | operator= (char character) -> basic_string & |
| Copy assignment operator. Replaces the contents with the specified character. | |
| auto | operator= (xtd::char16 character) -> basic_string & |
| Copy assignment operator. Replaces the contents with the specified character. | |
| auto | operator= (xtd::char32 character) -> basic_string & |
| Copy assignment operator. Replaces the contents with the specified character. | |
| auto | operator= (xtd::char8 character) -> basic_string & |
| Copy assignment operator. Replaces the contents with the specified character. | |
| auto | operator= (xtd::wchar character) -> basic_string & |
| Copy assignment operator. Replaces the contents with the specified character. | |
| auto | operator= (const std::initializer_list< char > &il) -> basic_string & |
| Copy assignment operator. Replaces the contents with a copy of the contents of the specified initializer list. | |
| auto | operator= (const std::initializer_list< xtd::char16 > &il) -> basic_string & |
| Copy assignment operator. Replaces the contents with a copy of the contents of the specified initializer list. | |
| auto | operator= (const std::initializer_list< xtd::char32 > &il) -> basic_string & |
| Copy assignment operator. Replaces the contents with a copy of the contents of the specified initializer list. | |
| auto | operator= (const std::initializer_list< xtd::char8 > &il) -> basic_string & |
| Copy assignment operator. Replaces the contents with a copy of the contents of the specified initializer list. | |
| auto | operator= (const std::initializer_list< xtd::wchar > &il) -> basic_string & |
| Copy assignment operator. Replaces the contents with a copy of the contents of the specified initializer list. | |
| auto | operator+= (const basic_string< char > &str) -> basic_string & |
| Addition assignment operator. Appends additional characters to the string. | |
| auto | operator+= (const basic_string< xtd::char16 > &str) -> basic_string & |
| Addition assignment operator. Appends additional characters to the string. | |
| auto | operator+= (const basic_string< xtd::char32 > &str) -> basic_string & |
| Addition assignment operator. Appends additional characters to the string. | |
| auto | operator+= (const basic_string< xtd::char8 > &str) -> basic_string & |
| Addition assignment operator. Appends additional characters to the string. | |
| auto | operator+= (const basic_string< xtd::wchar > &str) -> basic_string & |
| Addition assignment operator. Appends additional characters to the string. | |
| auto | operator+= (basic_string< char > &&str) -> basic_string & |
| Addition assignment operator. Appends additional characters to the string. | |
| auto | operator+= (basic_string< xtd::char16 > &&str) -> basic_string & |
| Addition assignment operator. Appends additional characters to the string. | |
| auto | operator+= (basic_string< xtd::char32 > &&str) -> basic_string & |
| Addition assignment operator. Appends additional characters to the string. | |
| auto | operator+= (basic_string< xtd::char8 > &&str) -> basic_string & |
| Addition assignment operator. Appends additional characters to the string. | |
| auto | operator+= (basic_string< xtd::wchar > &&str) -> basic_string & |
| Addition assignment operator. Appends additional characters to the string. | |
| auto | operator+= (const std::basic_string< char > &str) -> basic_string & |
| Addition assignment operator. Appends additional characters to the string. | |
| auto | operator+= (const std::basic_string< xtd::char16 > &str) -> basic_string & |
| Addition assignment operator. Appends additional characters to the string. | |
| auto | operator+= (const std::basic_string< xtd::char32 > &str) -> basic_string & |
| Addition assignment operator. Appends additional characters to the string. | |
| auto | operator+= (const std::basic_string< xtd::char8 > &str) -> basic_string & |
| Addition assignment operator. Appends additional characters to the string. | |
| auto | operator+= (const std::basic_string< xtd::wchar > &str) -> basic_string & |
| Addition assignment operator. Appends additional characters to the string. | |
| auto | operator+= (const char *str) -> basic_string & |
| Addition assignment operator. Appends additional characters to the string. | |
| auto | operator+= (const xtd::char16 *str) -> basic_string & |
| Addition assignment operator. Appends additional characters to the string. | |
| auto | operator+= (const xtd::char32 *str) -> basic_string & |
| Addition assignment operator. Appends additional characters to the string. | |
| auto | operator+= (const xtd::char8 *str) -> basic_string & |
| Addition assignment operator. Appends additional characters to the string. | |
| auto | operator+= (const xtd::wchar *str) -> basic_string & |
| Addition assignment operator. Appends additional characters to the string. | |
| auto | operator+= (char ch) -> basic_string & |
| Addition assignment operator. Appends additional characters to the string. | |
| auto | operator+= (xtd::char16 ch) -> basic_string & |
| Addition assignment operator. Appends additional characters to the string. | |
| auto | operator+= (xtd::char32 ch) -> basic_string & |
| Addition assignment operator. Appends additional characters to the string. | |
| auto | operator+= (xtd::char8 ch) -> basic_string & |
| Addition assignment operator. Appends additional characters to the string. | |
| auto | operator+= (xtd::wchar ch) -> basic_string & |
| Addition assignment operator. Appends additional characters to the string. | |
Public Constructors | |
| basic_string ()=default | |
| Initializes a new instance of xtd::basic_string. | |
| basic_string (basic_string &&)=default | |
| Initializes a new instance of xtd::basic_string with specified string to move. | |
| basic_string (std::basic_string< char_t > &&str) | |
| Initializes a new instance of xtd::basic_string with specified string to move. | |
| basic_string (const basic_string< char > &str) noexcept | |
| Initializes a new instance of xtd::basic_string with specified string to copy. | |
| basic_string (const basic_string< xtd::char16 > &str) noexcept | |
| Initializes a new instance of xtd::basic_string with specified string to copy. | |
| basic_string (const basic_string< xtd::char32 > &str) noexcept | |
| Initializes a new instance of xtd::basic_string with specified string to copy. | |
| basic_string (const basic_string< xtd::char8 > &str) noexcept | |
| Initializes a new instance of xtd::basic_string with specified string to copy. | |
| basic_string (const basic_string< xtd::wchar > &str) noexcept | |
| Initializes a new instance of xtd::basic_string with specified string to copy. | |
| basic_string (const std::basic_string< char > &str) noexcept | |
| Initializes a new instance of xtd::basic_string with specified string to copy. | |
| basic_string (const std::basic_string< xtd::char16 > &str) noexcept | |
| Initializes a new instance of xtd::basic_string with specified string to copy. | |
| basic_string (const std::basic_string< xtd::char32 > &str) noexcept | |
| Initializes a new instance of xtd::basic_string with specified string to copy. | |
| basic_string (const std::basic_string< xtd::char8 > &str) noexcept | |
| Initializes a new instance of xtd::basic_string with specified string to copy. | |
| basic_string (const std::basic_string< xtd::wchar > &str) noexcept | |
| Initializes a new instance of xtd::basic_string with specified string to copy. | |
| basic_string (char character, xtd::size count) | |
| Initializes a new instance of xtd::basic_string with specified count copies of character. | |
| basic_string (xtd::char16 character, xtd::size count) | |
| Initializes a new instance of xtd::basic_string with specified count copies of character. | |
| basic_string (xtd::char32 character, xtd::size count) | |
| Initializes a new instance of xtd::basic_string with specified count copies of character. | |
| basic_string (xtd::char8 character, xtd::size count) | |
| Initializes a new instance of xtd::basic_string with specified count copies of character. | |
| basic_string (xtd::wchar character, xtd::size count) | |
| Initializes a new instance of xtd::basic_string with specified count copies of character. | |
| basic_string (const char *str) | |
| Initializes a new instance of xtd::basic_string with specified string to copy. | |
| basic_string (const xtd::char16 *str) | |
| Initializes a new instance of xtd::basic_string with specified string to copy. | |
| basic_string (const xtd::char32 *str) | |
| Initializes a new instance of xtd::basic_string with specified string to copy. | |
| basic_string (const xtd::char8 *str) | |
| Initializes a new instance of xtd::basic_string with specified string to copy. | |
| basic_string (const xtd::wchar *str) | |
| Initializes a new instance of xtd::basic_string with specified string to copy. | |
| basic_string (const char *str, xtd::size count) | |
| Initializes a new instance of xtd::basic_string with specified substring and count characters. | |
| basic_string (const xtd::char16 *str, xtd::size count) | |
| Initializes a new instance of xtd::basic_string with specified substring and count characters. | |
| basic_string (const xtd::char32 *str, xtd::size count) | |
| Initializes a new instance of xtd::basic_string with specified substring and count characters. | |
| basic_string (const xtd::char8 *str, xtd::size count) | |
| Initializes a new instance of xtd::basic_string with specified substring and count characters. | |
| basic_string (const xtd::wchar *str, xtd::size count) | |
| Initializes a new instance of xtd::basic_string with specified substring and count characters. | |
| template<typename input_iterator_t> | |
| basic_string (input_iterator_t first, input_iterator_t last) | |
| Initializes a new instance of xtd::basic_string with specified first and last iterators of substring. | |
| basic_string (const std::basic_string_view< char_t > &str) | |
| Initializes a new instance of xtd::basic_string with specified std::basic_string_view. | |
| basic_string (std::initializer_list< char > il) | |
| Initializes a new instance of xtd::basic_string with specified initializer list. | |
| basic_string (std::initializer_list< xtd::char16 > il) | |
| Initializes a new instance of xtd::basic_string with specified initializer list. | |
| basic_string (std::initializer_list< xtd::char32 > il) | |
| Initializes a new instance of xtd::basic_string with specified initializer list. | |
| basic_string (std::initializer_list< xtd::char8 > il) | |
| Initializes a new instance of xtd::basic_string with specified initializer list. | |
| basic_string (std::initializer_list< xtd::wchar > il) | |
| Initializes a new instance of xtd::basic_string with specified initializer list. | |
Public Properties | |
| auto | c_str () const noexcept -> const_pointer |
| Returns a pointer to a null-terminated character array with data equivalent to those stored in the string. | |
| auto | chars () const noexcept -> const base_type & |
| Returns a reference to the underlying base type. | |
| auto | chars () noexcept -> base_type & |
| Returns a reference to the underlying base type. | |
| virtual auto | count () const noexcept -> size_type |
| Gets the number of characters in the current xtd::basic_string object. | |
| auto | data () const noexcept -> const_pointer |
| Returns a pointer to the underlying array serving as character storage. The pointer is such that the range [data(), data() + size()] is valid and the values in it correspond to the values stored in the string. | |
| virtual auto | empty () const noexcept -> bool |
| Checks whether the container is empty. | |
| virtual auto | length () const noexcept -> size_type |
| Gets the number of characters in the current xtd::basic_string object. | |
| virtual auto | size () const noexcept -> size_type |
| Gets the number of characters in the current xtd::basic_string object. | |
Public Methods | |
| auto | compare_to (const object &value) const -> xtd::int32 |
| Compares this instance with a specified xtd::object and indicates whether this instance precedes, follows, or appears in the same position in the sort order as the specified xtd::object. | |
| auto | compare_to (const basic_string &value) const noexcept -> xtd::int32 override |
| Compares this instance with a specified xtd::basic_string object and indicates whether this instance precedes, follows, or appears in the same position in the sort order as the specified string. | |
| virtual auto | contains (value_type value) const noexcept -> bool |
| Returns a value indicating whether a specified char occurs within this basic_string. | |
| virtual auto | contains (const basic_string &value) const noexcept -> bool |
| Returns a value indicating whether a specified substring occurs within this basic_string. | |
| auto | equals (const object &obj) const noexcept -> bool override |
| Determines whether this instance and a specified object, which must also be a xtd::basic_string object, have the same value. | |
| auto | equals (const basic_string &value) const noexcept -> bool override |
| Determines whether this instance and another specified xtd::basic_string object have the same value. | |
| auto | equals (const basic_string &value, bool ignore_case) const noexcept -> bool |
| Determines whether this instance and another specified xtd::basic_string object have the same value, ignoring or honoring their case. | |
| auto | ends_with (value_type value) const noexcept -> bool |
| Determines whether the end of this basic_string matches the specified character. | |
| auto | ends_with (value_type value, bool ignore_case) const noexcept -> bool |
| Determines whether the end of this basic_string matches the specified character, ignoring or honoring their case. | |
| auto | ends_with (const basic_string &value) const noexcept -> bool |
| Determines whether the end of this basic_string matches the specified basic_string. | |
| auto | ends_with (const basic_string &value, bool ignore_case) const noexcept -> bool |
| Determines whether the end of this basic_string instance matches the specified basic_string, ignoring or honoring their case. | |
| auto | ends_with (const basic_string &value, xtd::string_comparison comparison_type) const noexcept -> bool |
| Determines whether the end of this basic_string matches the specified basic_string when compared using the specified comparison option. | |
| virtual auto | get_base_type () const noexcept -> const base_type & |
| Returns the underlying base type. | |
| auto | get_hash_code () const noexcept -> xtd::size override |
| Returns the hash code for this basic_string. | |
| auto | get_enumerator () const noexcept -> enumerator_type override |
| Returns an enumerator that iterates through a collection. | |
| auto | index_of (const basic_string &value) const noexcept -> xtd::size |
| Reports the index of the first occurrence of the specified basic_string in this basic_string. | |
| auto | index_of (const basic_string &value, xtd::size start_index) const -> xtd::size |
| Reports the index of the first occurrence of the specified character in this basic_string. The search starts at a specified character position. | |
| auto | index_of (const basic_string &value, xtd::size start_index, xtd::size count) const -> xtd::size |
| Reports the index of the first occurrence of the specified character in this basic_string. The search starts at a specified character position and examines a specified number of character positions. | |
| auto | index_of (value_type value) const noexcept -> xtd::size |
| Reports the index of the first occurrence of the specified character in this basic_string. | |
| auto | index_of (value_type value, xtd::size start_index) const -> xtd::size |
| Reports the index of the first occurrence of the specified character in this basic_string. The search starts at a specified character position. | |
| auto | index_of (value_type value, xtd::size start_index, xtd::size count) const -> xtd::size |
| Reports the index of the first occurrence of the specified character in this basic_string. The search starts at a specified character position and examines a specified number of character positions. | |
| auto | index_of_any (const xtd::array< value_type > &values) const noexcept -> xtd::size |
| Reports the index of the first occurrence in this instance of any character in a specified array of characters. | |
| auto | index_of_any (const xtd::array< value_type > &values, xtd::size start_index) const -> xtd::size |
| Reports the index of the first occurrence in this instance of any character in a specified array of characters. The search starts at a specified character position. | |
| auto | index_of_any (const xtd::array< value_type > &values, xtd::size start_index, xtd::size count) const -> xtd::size |
| Reports the index of the first occurrence in this instance of any character in a specified array of characters. The search starts at a specified character position. | |
| auto | insert (xtd::size start_index, const basic_string &value) const -> basic_string |
| Inserts a specified instance of basic_string at a specified index position in this instance. | |
| auto | last_index_of (const basic_string &value) const noexcept -> xtd::size |
| Reports the index of the last occurrence of the specified basic_string in this basic_string. | |
| auto | last_index_of (const basic_string &value, xtd::size start_index) const -> xtd::size |
| Reports the index of the last occurrence of the specified character in this basic_string. The search starts at a specified character position. | |
| auto | last_index_of (const basic_string &value, xtd::size start_index, xtd::size count) const -> xtd::size |
| Reports the index of the last occurrence of the specified character in this basic_string. The search starts at a specified character position and examines a specified number of character positions. | |
| auto | last_index_of (value_type value) const noexcept -> xtd::size |
| Reports the index of the last occurrence of the specified character in this tring. | |
| auto | last_index_of (value_type value, xtd::size start_index) const -> xtd::size |
| Reports the index of the last occurrence of the specified character in this basic_string. The search starts at a specified character position. | |
| auto | last_index_of (value_type value, xtd::size start_index, xtd::size count) const -> xtd::size |
| Reports the index of the last occurrence of the specified character in this basic_string. The search starts at a specified character position and examines a specified number of character positions. | |
| auto | last_index_of_any (const xtd::array< value_type > &values) const noexcept -> xtd::size |
| Reports the index of the last occurrence in this instance of any character in a specified array of characters. | |
| auto | last_index_of_any (const xtd::array< value_type > &values, xtd::size start_index) const -> xtd::size |
| Reports the index of the last occurrence in this instance of any character in a specified array of characters. The search starts at a specified character position. | |
| auto | last_index_of_any (const xtd::array< value_type > &values, xtd::size start_index, xtd::size count) const -> xtd::size |
| Reports the index of the last occurrence in this instance of any character in a specified array of characters. The search starts at a specified character position. | |
| auto | pad_left (xtd::size total_width) const noexcept -> basic_string |
| Right-aligns the characters in this basic_string, padding with spaces on the left for a specified total length. | |
| auto | pad_left (xtd::size total_width, char32 padding_char) const noexcept -> basic_string |
| Right-aligns the characters in this basic_string, padding with spaces on the left for a specified total length. | |
| auto | pad_right (xtd::size total_width) const noexcept -> basic_string |
| Left-aligns the characters in this basic_string, padding with spaces on the right for a specified total length. | |
| auto | pad_right (xtd::size total_width, char32 padding_char) const noexcept -> basic_string |
| Left-aligns the characters in this basic_string, padding with spaces on the right for a specified total length. | |
| auto | quoted () const -> basic_string |
| Allows insertion and extraction of quoted strings, such as the ones found in CSV or XML. | |
| auto | quoted (value_type delimiter) const -> basic_string |
| Allows insertion and extraction of quoted strings, such as the ones found in CSV or XML ith specified delimiter. | |
| auto | quoted (value_type delimiter, value_type escape) const -> basic_string |
| Allows insertion and extraction of quoted strings, such as the ones found in CSV or XML ith specified delimiter and escape. | |
| auto | remove (xtd::size start_index) const -> basic_string |
| Deletes all the characters from this basic_string beginning at a specified position and continuing through the last position. | |
| auto | remove (xtd::size start_index, xtd::size count) const -> basic_string |
| Deletes all the characters from this basic_string beginning at a specified position and continuing through the last position. | |
| auto | replace (value_type old_char, value_type new_char) const noexcept -> basic_string |
| Replaces all occurrences of a specified char_t in this basic_string with another specified char_t. | |
| auto | replace (const basic_string &old_string, const basic_string &new_string) const noexcept -> basic_string |
| Replaces all occurrences of a specified basic_string in this basic_string with another specified basic_string. | |
| auto | split () const noexcept -> xtd::array< basic_string > |
| Splits this basic_string into substrings that are based on the default white-space characters. White-space characters are defined by the c++ standard and return true if they are passed to the xtd::char_object::isspace() or std::iswspace() method. | |
| auto | split (value_type separator) const noexcept -> xtd::array< basic_string > |
| Splits this basic_string into substrings that are based on the characters in an array. | |
| auto | split (value_type separator, xtd::string_split_options options) const noexcept -> xtd::array< basic_string > |
| Splits this basic_string into substrings based on the characters in an array. You can specify whether the substrings include empty array elements. | |
| auto | split (value_type separator, xtd::size count) const noexcept -> xtd::array< basic_string > |
| Splits this basic_string into a maximum number of substrings based on the characters in an array. You also specify the maximum number of substrings to return. | |
| auto | split (value_type separator, xtd::size count, xtd::string_split_options options) const noexcept -> xtd::array< basic_string > |
| Splits this basic_string into a maximum number of substrings based on the characters in an array. | |
| auto | split (const xtd::array< value_type > &separators) const noexcept -> xtd::array< basic_string > |
| Splits this basic_string into substrings that are based on the characters in an array. | |
| auto | split (const xtd::array< value_type > &separators, xtd::string_split_options options) const noexcept -> xtd::array< basic_string > |
| Splits this basic_string into substrings based on the characters in an array. You can specify whether the substrings include empty array elements. | |
| auto | split (const xtd::array< value_type > &separators, xtd::size count) const noexcept -> xtd::array< basic_string > |
| Splits this basic_string into a maximum number of substrings based on the characters in an array. You also specify the maximum number of substrings to return. | |
| auto | split (const xtd::array< value_type > &separators, xtd::size count, xtd::string_split_options options) const noexcept -> xtd::array< basic_string > |
| Splits this basic_string into a maximum number of substrings based on the characters in an array. | |
| bool | starts_with (value_type value) const noexcept |
| Determines whether the beginning of this instance of xtd::basic_string matches a specified xtd::basic_string. | |
| bool | starts_with (value_type value, bool ignore_case) const noexcept |
| Determines whether the beginning of this instance of xtd::basic_string matches a specified xtd::basic_string, ignoring or honoring their case. | |
| auto | starts_with (const basic_string &value) const noexcept -> bool |
| Determines whether the beginning of this instance of xtd::basic_string matches a specified xtd::basic_string. | |
| auto | starts_with (const basic_string &value, bool ignore_case) const noexcept -> bool |
| Determines whether the beginning of this instance of xtd::basic_string matches a specified xtd::basic_string, ignoring or honoring their case. | |
| auto | starts_with (const basic_string &value, xtd::string_comparison comparison_type) const noexcept -> bool |
| Determines whether the end of this basic_string matches the specified basic_string when compared using the specified comparison option. | |
| auto | substring (xtd::size start_index) const -> basic_string |
| Retrieves a substring from this instance. The substring starts at a specified character position and has a specified length. | |
| auto | substring (xtd::size start_index, xtd::size length) const -> basic_string |
| Retrieves a substring from this instance. The substring starts at a specified character position and has a specified length. | |
| auto | to_array () const noexcept -> xtd::array< value_type > |
| Copies the characters in this instance to a Unicode character array. | |
| auto | to_array (xtd::size start_index) const -> xtd::array< value_type > |
| Copies the characters in this instance to a Unicode character array starting at specified index. | |
| auto | to_array (xtd::size start_index, xtd::size length) const -> xtd::array< value_type > |
| Copies the characters in this instance to a Unicode character array starting at specified index with specified length. | |
| auto | to_char_array () const noexcept -> xtd::array< value_type > |
| Copies the characters in this instance to a Unicode character array. | |
| auto | to_char_array (xtd::size start_index, xtd::size length) const -> xtd::array< value_type > |
| Copies the characters in this instance to a Unicode character array starting at specified index with specified length. | |
| auto | to_lower () const noexcept -> basic_string |
| Returns a copy of the current xtd::basic_string converted to lowercase. | |
| auto | to_string () const noexcept -> basic_string< char > override |
| Converts the value of this instance to a xtd::basic_string <char>. | |
| auto | to_title_case () const noexcept -> basic_string |
| Converts the current basic_string to title case (except for words that are entirely in uppercase, which are considered to be acronyms). | |
| auto | to_u16string () const noexcept -> basic_string< xtd::char16 > |
| Converts the value of this instance to a xtd::basic_string <xtd::char16>. | |
| auto | to_u32string () const noexcept -> basic_string< xtd::char32 > |
| Converts the value of this instance to a xtd::basic_string <xtd::char32>. | |
| auto | to_u8string () const noexcept -> basic_string< xtd::char8 > |
| Converts the value of this instance to a xtd::basic_string <xtd::char8>. | |
| auto | to_upper () const noexcept -> basic_string |
| Returns a copy of the current xtd::basic_string converted to uppercase. | |
| auto | to_wstring () const noexcept -> basic_string< xtd::wchar > |
| Converts the value of this instance to a xtd::basic_string <xtd::wchar>. | |
| auto | trim () const noexcept -> basic_string |
| Removes all leading and trailing occurrences of white-space characters from the specified xtd::basic_string. | |
| auto | trim (value_type trim_char) const noexcept -> basic_string |
| Removes all leading and trailing occurrences of a character specified from the specified xtd::basic_string . | |
| auto | trim (const xtd::array< value_type > &trim_chars) const noexcept -> basic_string |
| Removes all leading and trailing occurrences of a set of characters specified in an array from the specified xtd::basic_string. | |
| auto | trim_end () const noexcept -> basic_string |
| Removes all trailing occurrences of white-space characters from the specified xtd::basic_string. | |
| auto | trim_end (value_type trim_char) const noexcept -> basic_string |
| Removes all trailing occurrences of a character specified from the specified xtd::basic_string . | |
| auto | trim_end (const xtd::array< value_type > &trim_chars) const noexcept -> basic_string |
| Removes all trailing occurrences of a set of characters specified in an array from the specified xtd::basic_string. | |
| auto | trim_start () const noexcept -> basic_string |
| Removes all leading occurrences of white-space characters from the specified xtd::basic_string. | |
| auto | trim_start (value_type trim_char) const noexcept -> basic_string |
| Removes all leading occurrences of a character specified from the specified xtd::basic_string . | |
| auto | trim_start (const xtd::array< value_type > &trim_chars) const noexcept -> basic_string |
| Removes all leading occurrences of a set of characters specified in an array from the specified xtd::basic_string. | |
Public Static Methods | |
| static auto | compare (const basic_string &str_a, const basic_string &str_b) noexcept -> xtd::int32 |
| Compares two specified basic_string objects and returns an integer that indicates their relative position in the sort order. | |
| static auto | compare (const basic_string &str_a, const basic_string &str_b, bool ignore_case) noexcept -> xtd::int32 |
| Compares two specified basic_string objects, ignoring or honoring their case, and returns an integer that indicates their relative position in the sort order. | |
| static auto | compare (const basic_string &str_a, const basic_string &str_b, xtd::string_comparison comparison_type) noexcept -> xtd::int32 |
| Compares two specified basic_string objects using the specified rules, and returns an integer that indicates their relative position in the sort order. | |
| static auto | compare (const basic_string &str_a, xtd::size index_a, const basic_string &str_b, xtd::size index_b, xtd::size length) -> xtd::int32 |
| Compares substrings of two specified basic_string objects and returns an integer that indicates their relative position in the sort order. | |
| static auto | compare (const basic_string &str_a, xtd::size index_a, const basic_string &str_b, xtd::size index_b, xtd::size length, bool ignore_case) -> xtd::int32 |
| Compares substrings of two specified basic_string objects, ignoring or honoring their case, and returns an integer that indicates their relative position in the sort order. | |
| static auto | compare (const basic_string &str_a, xtd::size index_a, const basic_string &str_b, xtd::size index_b, xtd::size length, xtd::string_comparison comparison_type) -> xtd::int32 |
| Compares substrings of two specified basic_string objects using the specified rules, and returns an integer that indicates their relative position in the sort order. | |
| static auto | concat (const basic_string &str_a, const basic_string &str_b, const basic_string &str_c, const basic_string &str_d) noexcept -> basic_string |
| Concatenates four specified instances of basic_string. | |
| template<typename object_a_t, typename object_b_t, typename object_c_t, typename object_d_t> | |
| static auto | concat (object_a_t obj_a, object_b_t obj_b, object_c_t obj_c, object_d_t obj_d) noexcept -> basic_string |
| Concatenates four specified instances of object. | |
| static auto | concat (const basic_string &str_a, const basic_string &str_b, const basic_string &str_c) noexcept -> basic_string |
| Concatenates three specified instances of basic_string. | |
| template<typename object_a_t, typename object_b_t, typename object_c_t> | |
| static auto | concat (object_a_t obj_a, object_b_t obj_b, object_c_t obj_c) noexcept -> basic_string |
| Concatenates three specified instances of object. | |
| static auto | concat (const basic_string &str_a, const basic_string &str_b) noexcept -> basic_string |
| Concatenates two specified instances of basic_string. | |
| template<typename object_a_t, typename object_b_t> | |
| static auto | concat (object_a_t obj_a, object_b_t obj_b) noexcept -> basic_string |
| Concatenates two specified instances of object. | |
| static auto | concat (const xtd::array< basic_string > &values) noexcept -> basic_string |
| Concatenates the elements of a specified basic_string array. | |
| template<typename object_t> | |
| static auto | concat (const xtd::array< object_t > &args) noexcept -> basic_string |
| Concatenates the basic_string representations of the elements in a specified object array. | |
| template<typename value_t> | |
| static auto | concat (value_t value) noexcept -> basic_string |
| Creates the basic_string representation of a specified object. | |
| static auto | demangle (const basic_string &name) -> basic_string |
| Gets demangled basic_string of name,. | |
| static auto | equals (const basic_string &a, const basic_string &b) noexcept -> bool |
| Determines whether two specified xtd::basic_string objects have the same value. | |
| template<typename char_a_t, typename char_b_t> | |
| static auto | equals (const char_a_t *a, const char_b_t *b) noexcept -> bool |
| Determines whether two specified xtd::basic_string objects have the same value. | |
| static auto | equals (const basic_string &a, const basic_string &b, bool ignore_case) noexcept -> bool |
| Determines whether two specified xtd::basic_string objects have the same value, ignoring or honoring their case. | |
| template<typename char_a_t, typename char_b_t> | |
| static auto | equals (const char_a_t *a, const char_b_t *b, bool ignore_case) noexcept -> bool |
| Determines whether two specified xtd::basic_string objects have the same value, ignoring or honoring their case. | |
| template<typename ... args_t> | |
| static auto | format (const basic_string< char > &fmt, args_t &&... args) -> basic_string |
| Writes the text representation of the specified arguments list, to string using the specified format information. | |
| template<typename ... args_t> | |
| static auto | format (const std::locale &loc, const basic_string< char > &fmt, args_t &&... args) -> basic_string |
| Writes the text representation of the specified arguments list, to string using the specified format information. | |
| static auto | is_empty (const xtd::basic_string< value_type, traits_type, allocator_type > &string) noexcept -> bool |
| Indicates whether the specifeid basic_string is an empty basic_string (""). | |
| template<typename collection_t> | |
| static auto | join (const basic_string &separator, const collection_t &values) noexcept -> basic_string |
| Concatenates a specified separator basic_string between each element of a specified object array, yielding a single concatenated basic_string. | |
| template<typename collection_t> | |
| static auto | join (const basic_string &separator, const collection_t &values, xtd::size index) -> basic_string |
| Concatenates a specified separator basic_string between each element of a specified object array, yielding a single concatenated basic_string. | |
| template<typename collection_t> | |
| static auto | join (const basic_string &separator, const collection_t &values, xtd::size index, xtd::size count) -> basic_string |
| Concatenates a specified separator basic_string between each element of a specified Object array, yielding a single concatenated basic_string. | |
| template<typename value_t> | |
| static auto | parse (const basic_string &str) -> value_t |
| Converts a basic_string into a value_t type. | |
| template<typename ... args_t> | |
| static auto | sprintf (const basic_string &fmt, args_t &&... args) noexcept -> basic_string |
| Writes the text representation of the specified arguments list, to basic_string using the specified format information. | |
| template<typename value_t> | |
| static auto | try_parse (const basic_string &str, value_t &value) noexcept -> bool |
| Try to convert a basic_string into a value_t type. | |
Additional Inherited Members | |
| using | value_type |
| Represents the xtd::collections::generic::ienumerable value type. | |
| using | iterator |
| Represents the iterator of xtd::collections::generic::ienumerable value type. | |
| using | const_iterator |
| Represents the const iterator of xtd::collections::generic::ienumerable value type. | |
| using | iterator |
| Represents the iterator of enumerable value type. | |
| using | const_iterator |
| Represents the const iterator of enumerable value type. | |
| using | enumerable_type |
| Represents the ienumerable enumerable type. | |
| using | source_type |
| Represents the ienumerable source type. | |
| using | ienumerable |
| Represents the ienumerable value type. | |
| using | list |
| Represents the list value type. | |
| using xtd::basic_string< char_t, traits_t, allocator_t >::base_type |
Represents the basic string base type.
| using xtd::basic_string< char_t, traits_t, allocator_t >::traits_type |
Represents the basic string traits type.
| using xtd::basic_string< char_t, traits_t, allocator_t >::value_type |
Represents the basic string value type.
| using xtd::basic_string< char_t, traits_t, allocator_t >::allocator_type |
Represents the basic string allocator type.
| using xtd::basic_string< char_t, traits_t, allocator_t >::size_type |
Represents the basic string size type.
| using xtd::basic_string< char_t, traits_t, allocator_t >::difference_type |
Represents the basic string difference type.
| using xtd::basic_string< char_t, traits_t, allocator_t >::reference |
Represents the basic string referecne type.
| using xtd::basic_string< char_t, traits_t, allocator_t >::const_reference |
Represents the basic string const referecne type.
| using xtd::basic_string< char_t, traits_t, allocator_t >::pointer |
Represents the basic string pointer type.
| using xtd::basic_string< char_t, traits_t, allocator_t >::const_pointer |
Represents the basic string const pointer type.
| using xtd::basic_string< char_t, traits_t, allocator_t >::iterator |
Represents the basic string iterator type.
| using xtd::basic_string< char_t, traits_t, allocator_t >::const_iterator |
Represents the basic string const iterator type.
| using xtd::basic_string< char_t, traits_t, allocator_t >::reverse_iterator |
Represents the basic string reverse iterator type.
| using xtd::basic_string< char_t, traits_t, allocator_t >::const_reverse_iterator |
Represents the basic string const reverse iterator type.
| using xtd::basic_string< char_t, traits_t, allocator_t >::enumerator_type |
Represents the basic string enumerator type.
|
default |
Initializes a new instance of xtd::basic_string.
|
default |
Initializes a new instance of xtd::basic_string with specified string to move.
| str | The basic_string to move. |
|
inline |
Initializes a new instance of xtd::basic_string with specified string to move.
| str | The basic_string to move. |
|
inlinenoexcept |
Initializes a new instance of xtd::basic_string with specified string to copy.
| str | The string to copy. |
|
inlinenoexcept |
Initializes a new instance of xtd::basic_string with specified string to copy.
| str | The string to copy. |
|
inlinenoexcept |
Initializes a new instance of xtd::basic_string with specified string to copy.
| str | The string to copy. |
|
inlinenoexcept |
Initializes a new instance of xtd::basic_string with specified string to copy.
| str | The string to copy. |
|
inlinenoexcept |
Initializes a new instance of xtd::basic_string with specified string to copy.
| str | The string to copy. |
|
inlinenoexcept |
Initializes a new instance of xtd::basic_string with specified string to copy.
| str | The string to copy. |
|
inlinenoexcept |
Initializes a new instance of xtd::basic_string with specified string to copy.
| str | The string to copy. |
|
inlinenoexcept |
Initializes a new instance of xtd::basic_string with specified string to copy.
| str | The string to copy. |
|
inlinenoexcept |
Initializes a new instance of xtd::basic_string with specified string to copy.
| str | The string to copy. |
|
inlinenoexcept |
Initializes a new instance of xtd::basic_string with specified string to copy.
| str | The string to copy. |
|
inline |
Initializes a new instance of xtd::basic_string with specified count copies of character.
|
inline |
Initializes a new instance of xtd::basic_string with specified count copies of character.
|
inline |
Initializes a new instance of xtd::basic_string with specified count copies of character.
|
inline |
Initializes a new instance of xtd::basic_string with specified count copies of character.
|
inline |
Initializes a new instance of xtd::basic_string with specified count copies of character.
|
inline |
Initializes a new instance of xtd::basic_string with specified string to copy.
| str | The string to copy. |
|
inline |
Initializes a new instance of xtd::basic_string with specified string to copy.
| str | The string to copy. |
|
inline |
Initializes a new instance of xtd::basic_string with specified string to copy.
| str | The string to copy. |
|
inline |
Initializes a new instance of xtd::basic_string with specified string to copy.
| str | The string to copy. |
|
inline |
Initializes a new instance of xtd::basic_string with specified string to copy.
| str | The string to copy. |
|
inline |
Initializes a new instance of xtd::basic_string with specified substring and count characters.
| count | The number of substring characters to copy. |
|
inline |
Initializes a new instance of xtd::basic_string with specified substring and count characters.
| count | The number of substring characters to copy. |
|
inline |
Initializes a new instance of xtd::basic_string with specified substring and count characters.
| count | The number of substring characters to copy. |
|
inline |
Initializes a new instance of xtd::basic_string with specified substring and count characters.
| count | The number of substring characters to copy. |
|
inline |
Initializes a new instance of xtd::basic_string with specified substring and count characters.
| count | The number of substring characters to copy. |
|
inline |
Initializes a new instance of xtd::basic_string with specified first and last iterators of substring.
|
inline |
Initializes a new instance of xtd::basic_string with specified std::basic_string_view.
| str | The std::basic_string_view string. |
|
inline |
Initializes a new instance of xtd::basic_string with specified initializer list.
| il | The initializer list to fill. |
|
inline |
Initializes a new instance of xtd::basic_string with specified initializer list.
| il | The initializer list to fill. |
|
inline |
Initializes a new instance of xtd::basic_string with specified initializer list.
| il | The initializer list to fill. |
|
inline |
Initializes a new instance of xtd::basic_string with specified initializer list.
| il | The initializer list to fill. |
|
inline |
Initializes a new instance of xtd::basic_string with specified initializer list.
| il | The initializer list to fill. |
|
inlinenodiscardnoexcept |
Returns a pointer to a null-terminated character array with data equivalent to those stored in the string.
|
inlinenodiscardnoexcept |
Returns a reference to the underlying base type.
|
inlinenodiscardnoexcept |
Returns a reference to the underlying base type.
|
inlinenodiscardvirtualnoexcept |
Gets the number of characters in the current xtd::basic_string object.
|
inlinenodiscardnoexcept |
Returns a pointer to the underlying array serving as character storage. The pointer is such that the range [data(), data() + size()] is valid and the values in it correspond to the values stored in the string.
|
inlinenodiscardvirtualnoexcept |
Checks whether the container is empty.
|
inlinenodiscardvirtualnoexcept |
Gets the number of characters in the current xtd::basic_string object.
|
inlinenodiscardvirtualnoexcept |
Gets the number of characters in the current xtd::basic_string object.
|
inlinenodiscard |
Compares this instance with a specified xtd::object and indicates whether this instance precedes, follows, or appears in the same position in the sort order as the specified xtd::object.
| value | An object that evaluates to a xtd::basic_string. |
| Value | Condition |
|---|---|
| Less than zero | This instance precedes value. |
| Zero | This instance has the same position in the sort order as value. |
| Greater than zero | This instance follows value. |
| xtd::argument_exception | `value` is not a xtd::basic_string. |
|
inlinenodiscardoverridevirtualnoexcept |
Compares this instance with a specified xtd::basic_string object and indicates whether this instance precedes, follows, or appears in the same position in the sort order as the specified string.
| value | The string to compare with this instance. |
| Value | Condition |
|---|---|
| Less than zero | This instance precedes value. |
| Zero | This instance has the same position in the sort order as value. |
| Greater than zero | This instance follows value. |
Implements xtd::icomparable< basic_string< char_t, traits_t, allocator_t > >.
|
inlinenodiscardvirtualnoexcept |
Returns a value indicating whether a specified char occurs within this basic_string.
| value | The char to seek. |
|
inlinenodiscardvirtualnoexcept |
Returns a value indicating whether a specified substring occurs within this basic_string.
| value | The basic_string to seek. |
|
inlinenodiscardoverridevirtualnoexcept |
Determines whether this instance and a specified object, which must also be a xtd::basic_string object, have the same value.
| obj | The basic_string to compare to this instance. |
Reimplemented from xtd::object.
|
inlinenodiscardoverridevirtualnoexcept |
Determines whether this instance and another specified xtd::basic_string object have the same value.
| value | The basic_string to compare to this instance. |
Implements xtd::iequatable< basic_string< char_t, traits_t, allocator_t > >.
|
inlinenodiscardnoexcept |
Determines whether this instance and another specified xtd::basic_string object have the same value, ignoring or honoring their case.
| value | The basic_string to compare to this instance. |
| ignore_case | true to ignore case when comparing this instance and value; otherwise, false |
|
inlinenodiscardnoexcept |
Determines whether the end of this basic_string matches the specified character.
| value | The char_t to compare to the substring at the end of this instance. |
|
inlinenodiscardnoexcept |
Determines whether the end of this basic_string matches the specified character, ignoring or honoring their case.
| value | The char_t to compare to the substring at the end of this instance. |
| ignore_case | true to ignore case during the comparison; otherwise, false. |
|
inlinenodiscardnoexcept |
Determines whether the end of this basic_string matches the specified basic_string.
| value | The basic_string to compare to the substring at the end of this instance. |
|
inlinenodiscardnoexcept |
Determines whether the end of this basic_string instance matches the specified basic_string, ignoring or honoring their case.
| value | The string to compare to the substring at the end of this instance. |
| ignore_case | true to ignore case during the comparison; otherwise, false. |
|
inlinenodiscardnoexcept |
Determines whether the end of this basic_string matches the specified basic_string when compared using the specified comparison option.
| value | The string to compare to the substring at the end of this instance. |
| comparison_type | One of the enumeration values that determines how this basic_string and value are compared. |
|
inlinenodiscardvirtualnoexcept |
Returns the underlying base type.
|
inlinenodiscardoverridevirtualnoexcept |
|
inlinenodiscardoverridevirtualnoexcept |
Returns an enumerator that iterates through a collection.
Implements xtd::collections::generic::ienumerable< char_t >.
|
inlinenodiscardnoexcept |
Reports the index of the first occurrence of the specified basic_string in this basic_string.
| value | An unicode character to seek |
|
inlinenodiscard |
Reports the index of the first occurrence of the specified character in this basic_string. The search starts at a specified character position.
| value | An unicode character to seek |
| start_index | The search starting position |
|
inlinenodiscard |
Reports the index of the first occurrence of the specified character in this basic_string. The search starts at a specified character position and examines a specified number of character positions.
| value | An unicode character to seek |
| start_index | The search starting position |
| count | The number of character positions to examine |
| xtd::index_out_of_range_exception | start_index + count are greater than the length of this instance. |
|
inlinenodiscardnoexcept |
Reports the index of the first occurrence of the specified character in this basic_string.
| value | An unicode character to seek |
|
inlinenodiscard |
Reports the index of the first occurrence of the specified character in this basic_string. The search starts at a specified character position.
| value | An unicode character to seek |
| start_index | The search starting position |
|
inlinenodiscard |
Reports the index of the first occurrence of the specified character in this basic_string. The search starts at a specified character position and examines a specified number of character positions.
| value | An unicode character to seek |
| start_index | The search starting position |
| count | The number of character positions to examine |
| xtd::index_out_of_range_exception | start_index + count are greater than the length of this instance. |
|
nodiscardnoexcept |
Reports the index of the first occurrence in this instance of any character in a specified array of characters.
| values | An unicode character array containing one or more characters to seek |
|
nodiscard |
Reports the index of the first occurrence in this instance of any character in a specified array of characters. The search starts at a specified character position.
| values | An unicode character array containing one or more characters to seek |
| start_index | The search starting position |
| xtd::index_out_of_range_exception | start_index + count are greater than the length of this instance. |
|
nodiscard |
Reports the index of the first occurrence in this instance of any character in a specified array of characters. The search starts at a specified character position.
| values | An unicode character array containing one or more characters to seek |
| start_index | The search starting position |
| count | The number of character positions to examine. |
| xtd::index_out_of_range_exception | start_index + count are greater than the length of this instance. |
|
inline |
Inserts a specified instance of basic_string at a specified index position in this instance.
| start_index | The index position of the insertion. |
| value | The basic_string to insert. |
|
inlinenodiscardnoexcept |
Reports the index of the last occurrence of the specified basic_string in this basic_string.
| value | An unicode character to seek |
|
inlinenodiscard |
Reports the index of the last occurrence of the specified character in this basic_string. The search starts at a specified character position.
| value | An unicode character to seek |
| start_index | The search starting position |
| xtd::index_out_of_range_exception | start_index + count are greater than the length of this instance. |
|
inlinenodiscard |
Reports the index of the last occurrence of the specified character in this basic_string. The search starts at a specified character position and examines a specified number of character positions.
| value | An unicode character to seek |
| start_index | The search starting position |
| count | The number of character positions to examine |
| xtd::index_out_of_range_exception | start_index + count are greater than the length of this instance. |
|
inlinenodiscardnoexcept |
Reports the index of the last occurrence of the specified character in this tring.
| value | An unicode character to seek |
|
inlinenodiscard |
Reports the index of the last occurrence of the specified character in this basic_string. The search starts at a specified character position.
| value | An unicode character to seek |
| start_index | The search starting position |
| xtd::index_out_of_range_exception | start_index + count are greater than the length of this instance. |
|
inlinenodiscard |
Reports the index of the last occurrence of the specified character in this basic_string. The search starts at a specified character position and examines a specified number of character positions.
| str | A basic_string to find last index of. |
| value | An unicode character to seek |
| start_index | The search starting position |
| count | The number of character positions to examine |
| xtd::index_out_of_range_exception | start_index + count are greater than the length of this instance. |
|
nodiscardnoexcept |
Reports the index of the last occurrence in this instance of any character in a specified array of characters.
| values | An unicode character array containing one or more characters to seek |
|
nodiscard |
Reports the index of the last occurrence in this instance of any character in a specified array of characters. The search starts at a specified character position.
| values | An unicode character array containing one or more characters to seek |
| start_index | The search starting position |
|
nodiscard |
Reports the index of the last occurrence in this instance of any character in a specified array of characters. The search starts at a specified character position.
| values | An unicode character array containing one or more characters to seek |
| start_index | The search starting position |
| count | The number of character positions to examine. |
|
inlinenodiscardnoexcept |
Right-aligns the characters in this basic_string, padding with spaces on the left for a specified total length.
| total_width | The number of characters in the resulting basic_string, equal to the number of original characters plus any additional padding characters. |
|
inlinenodiscardnoexcept |
Right-aligns the characters in this basic_string, padding with spaces on the left for a specified total length.
| total_width | The number of characters in the resulting basic_string, equal to the number of original characters plus any additional padding characters. |
| paddingChar | An unicode padding character. |
|
inlinenodiscardnoexcept |
Left-aligns the characters in this basic_string, padding with spaces on the right for a specified total length.
| totalWidth | The number of characters in the resulting basic_string, equal to the number of original characters plus any additional padding characters. |
|
inlinenodiscardnoexcept |
Left-aligns the characters in this basic_string, padding with spaces on the right for a specified total length.
| totalWidth | The number of characters in the resulting basic_string, equal to the number of original characters plus any additional padding characters. |
| paddingChar | An unicode padding character. |
|
inlinenodiscard |
Allows insertion and extraction of quoted strings, such as the ones found in CSV or XML.
"by default and the escape is set to \\endiskip by default.
|
inlinenodiscard |
Allows insertion and extraction of quoted strings, such as the ones found in CSV or XML ith specified delimiter.
| delimiter | The character to use as the delimiter, defaults to ". |
|
inlinenodiscard |
Allows insertion and extraction of quoted strings, such as the ones found in CSV or XML ith specified delimiter and escape.
| delimiter | The character to use as the delimiter, defaults to ". |
| escape | The character to use as the escape character, defaults to \\endiskip. |
|
inlinenodiscard |
Deletes all the characters from this basic_string beginning at a specified position and continuing through the last position.
| start_index | The position to begin deleting characters. |
|
inlinenodiscard |
Deletes all the characters from this basic_string beginning at a specified position and continuing through the last position.
| start_index | The position to begin deleting characters. |
| count | The number of characters to delete. |
|
inlinenodiscardnoexcept |
Replaces all occurrences of a specified char_t in this basic_string with another specified char_t.
| old_char | A char_t to be replaced. |
| new_char | A char_t to replace all occurrences of old_char. |
|
inlinenodiscardnoexcept |
Replaces all occurrences of a specified basic_string in this basic_string with another specified basic_string.
| old_string | A basic_string to be replaced. |
| new_string | A basic_string to replace all occurrences of old_string. |
|
nodiscardnoexcept |
Splits this basic_string into substrings that are based on the default white-space characters. White-space characters are defined by the c++ standard and return true if they are passed to the xtd::char_object::isspace() or std::iswspace() method.
|
nodiscardnoexcept |
Splits this basic_string into substrings that are based on the characters in an array.
| separator | A character that delimits the substrings in this basic_string. |
|
nodiscardnoexcept |
Splits this basic_string into substrings based on the characters in an array. You can specify whether the substrings include empty array elements.
| separator | A character that delimits the substrings in this basic_string |
| options | xtd::string_split_options::remove_empty_entries to omit empty array elements from the array returned; or None to include empty array elements in the array returned. |
|
nodiscardnoexcept |
Splits this basic_string into a maximum number of substrings based on the characters in an array. You also specify the maximum number of substrings to return.
| separator | A character array that delimits the substrings in this basic_string, an empty array that contains no delimiters. |
| count | The maximum number of substrings to return. |
|
nodiscardnoexcept |
Splits this basic_string into a maximum number of substrings based on the characters in an array.
| separators | A character array that delimits the substrings in this basic_string, an empty array that contains no delimiters. |
| count | The maximum number of substrings to return. |
| options | xtd::string_split_options::remove_empty_entries to omit empty array elements from the array returned; or None to include empty array elements in the array returned. |
|
nodiscardnoexcept |
Splits this basic_string into substrings that are based on the characters in an array.
| separators | A character array that delimits the substrings in this basic_string, an empty array that contains no delimiters. |
|
nodiscardnoexcept |
Splits this basic_string into substrings based on the characters in an array. You can specify whether the substrings include empty array elements.
| separators | A character array that delimits the substrings in this basic_string, an empty array that contains no delimiters. |
| options | xtd::string_split_options::remove_empty_entries to omit empty array elements from the array returned; or None to include empty array elements in the array returned. |
|
nodiscardnoexcept |
Splits this basic_string into a maximum number of substrings based on the characters in an array. You also specify the maximum number of substrings to return.
| separators | A character array that delimits the substrings in this basic_string, an empty array that contains no delimiters. |
| count | The maximum number of substrings to return. |
|
nodiscardnoexcept |
Splits this basic_string into a maximum number of substrings based on the characters in an array.
| separators | A character array that delimits the substrings in this basic_string, an empty array that contains no delimiters. |
| count | The maximum number of substrings to return. |
| options | xtd::string_split_options::remove_empty_entries to omit empty array elements from the array returned; or None to include empty array elements in the array returned. |
|
inlinenodiscardnoexcept |
Determines whether the beginning of this instance of xtd::basic_string matches a specified xtd::basic_string.
| value | A xtd::basic_string to compare to. |
|
inlinenodiscardnoexcept |
Determines whether the beginning of this instance of xtd::basic_string matches a specified xtd::basic_string, ignoring or honoring their case.
| value | A xtd::basic_string to compare to. |
| ignore_case | true to ignore case when comparing the specified basic_string and value; otherwise, false |
|
inlinenodiscardnoexcept |
Determines whether the beginning of this instance of xtd::basic_string matches a specified xtd::basic_string.
| value | A xtd::basic_string to compare to. |
|
inlinenodiscardnoexcept |
Determines whether the beginning of this instance of xtd::basic_string matches a specified xtd::basic_string, ignoring or honoring their case.
| value | A xtd::basic_string to compare to. |
| ignore_case | true to ignore case when comparing the specified basic_string and value; otherwise, false |
|
inlinenodiscardnoexcept |
Determines whether the end of this basic_string matches the specified basic_string when compared using the specified comparison option.
| value | The string to compare to the substring at the end of this instance. |
| comparison_type | One of the enumeration values that determines how this basic_string and value are compared. |
|
inlinenodiscard |
Retrieves a substring from this instance. The substring starts at a specified character position and has a specified length.
| str | basic_string to substring. |
| start_index | The zero-based starting character position of a substring in this instance. |
| xtd::argument_out_of_range_exception | `start_index` is greater than the length() of this instance. |
|
inlinenodiscard |
Retrieves a substring from this instance. The substring starts at a specified character position and has a specified length.
| start_index | The zero-based starting character position of a substring in this instance. |
| length | The number of characters in the substring. |
| xtd::argument_out_of_range_exception | `start_index` plus `length` is greater than the length() of this instance. |
|
nodiscardnoexcept |
Copies the characters in this instance to a Unicode character array.
|
nodiscard |
Copies the characters in this instance to a Unicode character array starting at specified index.
| start_index | The starting position of basic_string to convert. |
|
nodiscard |
Copies the characters in this instance to a Unicode character array starting at specified index with specified length.
| start_index | The starting position of basic_string to convert. |
| length | The length of the basic_string to convert |
|
nodiscardnoexcept |
Copies the characters in this instance to a Unicode character array.
|
nodiscard |
Copies the characters in this instance to a Unicode character array starting at specified index with specified length.
| start_index | The starting position of basic_string to convert. |
| length | The length of the basic_string to convert |
|
inlinenodiscardnoexcept |
Returns a copy of the current xtd::basic_string converted to lowercase.
|
inlinenodiscardoverridevirtualnoexcept |
Converts the value of this instance to a xtd::basic_string <char>.
Reimplemented from xtd::object.
|
nodiscardnoexcept |
Converts the current basic_string to title case (except for words that are entirely in uppercase, which are considered to be acronyms).
|
inlinenodiscardnoexcept |
Converts the value of this instance to a xtd::basic_string <xtd::char16>.
|
inlinenodiscardnoexcept |
Converts the value of this instance to a xtd::basic_string <xtd::char32>.
|
inlinenodiscardnoexcept |
Converts the value of this instance to a xtd::basic_string <xtd::char8>.
|
inlinenodiscardnoexcept |
Returns a copy of the current xtd::basic_string converted to uppercase.
|
inlinenodiscardnoexcept |
Converts the value of this instance to a xtd::basic_string <xtd::wchar>.
|
inlinenodiscardnoexcept |
Removes all leading and trailing occurrences of white-space characters from the specified xtd::basic_string.
| str | xtd::basic_string to trim end. |
| trim_char | A character to remove. |
|
nodiscardnoexcept |
Removes all leading and trailing occurrences of a character specified from the specified xtd::basic_string .
| str | xtd::basic_string to trim start. |
| trim_char | A character to remove. |
|
nodiscardnoexcept |
Removes all leading and trailing occurrences of a set of characters specified in an array from the specified xtd::basic_string.
| str | xtd::basic_string to trim end. |
| trim_chars | An array of characters to remove. |
|
inlinenodiscardnoexcept |
Removes all trailing occurrences of white-space characters from the specified xtd::basic_string.
| str | xtd::basic_string to trim end. |
| trim_char | A character to remove. |
|
nodiscardnoexcept |
Removes all trailing occurrences of a character specified from the specified xtd::basic_string .
| str | xtd::basic_string to trim start. |
| trim_char | A character to remove. |
|
nodiscardnoexcept |
Removes all trailing occurrences of a set of characters specified in an array from the specified xtd::basic_string.
| str | xtd::basic_string to trim end. |
| trim_chars | An array of characters to remove. |
|
inlinenodiscardnoexcept |
Removes all leading occurrences of white-space characters from the specified xtd::basic_string.
| str | xtd::basic_string to trim start. |
| trim_char | A character to remove. |
|
nodiscardnoexcept |
Removes all leading occurrences of a character specified from the specified xtd::basic_string .
| str | xtd::basic_string to trim start. |
| trim_char | A character to remove. |
|
nodiscardnoexcept |
Removes all leading occurrences of a set of characters specified in an array from the specified xtd::basic_string.
| str | An xtd::basic_string to trim start. |
| trim_chars | An array of characters to remove. |
|
inlinestaticnodiscardnoexcept |
Compares two specified basic_string objects and returns an integer that indicates their relative position in the sort order.
| str_a | The first basic_string to compare. |
| str_b | The second basic_string to compare. |
| Value | Condition |
|---|---|
| Less than zero | str_a precedes str_b in the sort order. |
| Zero | str_a occurs in the same position as str_b in the sort order. |
| Greater than zero | str_a follows str_b in the sort order. |
|
inlinestaticnodiscardnoexcept |
Compares two specified basic_string objects, ignoring or honoring their case, and returns an integer that indicates their relative position in the sort order.
| str_a | The first basic_string to compare. |
| str_b | The second basic_string to compare. |
| ignore_case | true to ignore case during the comparison; otherwise, false. |
| Value | Condition |
|---|---|
| Less than zero | str_a precedes str_b in the sort order. |
| Zero | str_a occurs in the same position as str_b in the sort order. |
| Greater than zero | str_a follows str_b in the sort order. |
|
inlinestaticnodiscardnoexcept |
Compares two specified basic_string objects using the specified rules, and returns an integer that indicates their relative position in the sort order.
| str_a | The first basic_string to compare. |
| str_b | The second basic_string to compare. |
| comparison_type | One of the enumeration values that specifies the rules to use in the comparison. |
| Value | Condition |
|---|---|
| Less than zero | str_a precedes str_b in the sort order. |
| Zero | str_a occurs in the same position as str_b in the sort order. |
| Greater than zero | str_a follows str_b in the sort order. |
|
inlinestaticnodiscard |
Compares substrings of two specified basic_string objects and returns an integer that indicates their relative position in the sort order.
| str_a | The first basic_string to use in the comparison. |
| index_a | The position of the substring within str_a. |
| str_b | The second basic_string to use in the comparison. |
| index_b | The position of the substring within str_b. |
| length | The maximum number of characters in the substrings to compare |
| Value | Condition |
|---|---|
| Less than zero | str_a precedes str_b in the sort order. |
| Zero | str_a occurs in the same position as str_b in the sort order. |
| Greater than zero | str_a follows str_b in the sort order. |
|
inlinestaticnodiscard |
Compares substrings of two specified basic_string objects, ignoring or honoring their case, and returns an integer that indicates their relative position in the sort order.
| str_a | The first basic_string to use in the comparison. |
| index_a | The position of the substring within str_a. |
| str_b | The second basic_string to use in the comparison. |
| index_b | The position of the substring within str_b. |
| length | The maximum number of characters in the substrings to compare |
| ignore_case | true to ignore case during the comparison; otherwise, false. |
| Value | Condition |
|---|---|
| Less than zero | str_a precedes str_b in the sort order. |
| Zero | str_a occurs in the same position as str_b in the sort order. |
| Greater than zero | str_a follows str_b in the sort order. |
|
inlinestaticnodiscard |
Compares substrings of two specified basic_string objects using the specified rules, and returns an integer that indicates their relative position in the sort order.
| str_a | The first basic_string to use in the comparison. |
| index_a | The position of the substring within str_a. |
| str_b | The second basic_string to use in the comparison. |
| index_b | The position of the substring within str_b. |
| length | The maximum number of characters in the substrings to compare |
| comparison_type | One of the enumeration values that specifies the rules to use in the comparison. |
| Value | Condition |
|---|---|
| Less than zero | str_a precedes str_b in the sort order. |
| Zero | str_a occurs in the same position as str_b in the sort order. |
| Greater than zero | str_a follows str_b in the sort order. |
|
inlinestaticnodiscardnoexcept |
Concatenates four specified instances of basic_string.
| str_a | The first basic_string to concatenate. |
| str_b | The second basic_string to concatenate. |
| str_c | The third basic_string to concatenate. |
| str_d | The fourth basic_string to concatenate. |
|
inlinestaticnodiscardnoexcept |
Concatenates four specified instances of object.
| obj_a | The first object to concatenate. |
| obj_b | The second object to concatenate. |
| obj_c | The third object to concatenate. |
| obj_d | The fourth object to concatenate. |
|
inlinestaticnodiscardnoexcept |
Concatenates three specified instances of basic_string.
| str_a | The first basic_string to concatenate. |
| str_b | The second basic_string to concatenate. |
| str_c | The third basic_string to concatenate. |
|
inlinestaticnodiscardnoexcept |
Concatenates three specified instances of object.
| obj_a | The first object to concatenate. |
| obj_b | The second object to concatenate. |
| obj_c | The third object to concatenate. |
|
inlinestaticnodiscardnoexcept |
Concatenates two specified instances of basic_string.
| str_a | The first basic_string to concatenate. |
| str_b | The second basic_string to concatenate. |
|
inlinestaticnodiscardnoexcept |
Concatenates two specified instances of object.
| obj_a | The first object to concatenate. |
| obj_b | The second object to concatenate. |
|
staticnodiscardnoexcept |
Concatenates the elements of a specified basic_string array.
| values | An array of basic_string instances. |
|
staticnodiscardnoexcept |
Concatenates the basic_string representations of the elements in a specified object array.
| args | An object array that contains the elements to concatenate. |
|
inlinestaticnodiscardnoexcept |
Creates the basic_string representation of a specified object.
| value | The object to represent. |
|
inlinestaticnodiscard |
Gets demangled basic_string of name,.
| name | The name to demangle. |
|
inlinestaticnodiscardnoexcept |
Determines whether two specified xtd::basic_string objects have the same value.
| a | The first basic_string to compare. |
| b | The second basic_string to compare. |
|
inlinestaticnodiscardnoexcept |
Determines whether two specified xtd::basic_string objects have the same value.
| a | The first basic_string to compare. |
| b | The second basic_string to compare. |
|
inlinestaticnodiscardnoexcept |
Determines whether two specified xtd::basic_string objects have the same value, ignoring or honoring their case.
| a | The first basic_string to compare. |
| b | The second basic_string to compare. |
| ignore_case | true to ignore case when comparing this instance and value; otherwise, false |
|
inlinestaticnodiscardnoexcept |
Determines whether two specified xtd::basic_string objects have the same value, ignoring or honoring their case.
| a | The first basic_string to compare. |
| b | The second basic_string to compare. |
| ignore_case | true to ignore case when comparing this instance and value; otherwise, false |
|
inlinestaticnodiscardnoexcept |
Indicates whether the specifeid basic_string is an empty basic_string ("").
| string | The xtd::basic_string to check if empty. |
|
inlinestaticnodiscardnoexcept |
Concatenates a specified separator basic_string between each element of a specified object array, yielding a single concatenated basic_string.
| separator | A basic_string separator. |
| values | An array of Object. |
|
inlinestaticnodiscard |
Concatenates a specified separator basic_string between each element of a specified object array, yielding a single concatenated basic_string.
| separator | A basic_string separator. |
| values | An array of Object. |
| start_index | The first array element in value to use. |
|
inlinestaticnodiscard |
Concatenates a specified separator basic_string between each element of a specified Object array, yielding a single concatenated basic_string.
| separator | A basic_string separator. |
| values | An array of Object. |
| start_index | The first array element in value to use. |
| count | The number of elements of value to use. |
|
inlinestaticnodiscard |
Converts a basic_string into a value_t type.
| str | Ax xtd::basic_string to convert to value_t |
|
inlinestaticnoexcept |
Try to convert a basic_string into a value_t type.
| str | An xtd::basic_string to convert to value_t |
| value | The value that will contain the parsed xtd::basic_string. |
|
inline |
Returns a reference to the character at specified location index.
| index | The position of the character to return. |
| xtd::index_out_of_range_exception | If `index` is not within the range of the string. |
|
inlinenoexcept |
Returns a reference to the underlying base type.
|
inlinenoexcept |
Copy assignment operator. Replaces the contents with a copy of the contents of str.
| str | String to use as data source. |
|
inlinenoexcept |
Copy assignment operator. Replaces the contents with a copy of the contents of str.
| str | String to use as data source. |
|
inlinenoexcept |
Copy assignment operator. Replaces the contents with a copy of the contents of str.
| str | String to use as data source. |
|
inlinenoexcept |
Copy assignment operator. Replaces the contents with a copy of the contents of str.
| str | String to use as data source. |
|
inlinenoexcept |
Copy assignment operator. Replaces the contents with a copy of the contents of str.
| str | String to use as data source. |
|
inlinenoexcept |
Move assignment operator. Replaces the contents with those of other using move semantics (i.e. the data in str is moved from str into this string). str is in a valid but unspecified state afterwards.
| str | String to use as data source. |
|
inlinenoexcept |
Move assignment operator. Replaces the contents with those of other using move semantics (i.e. the data in str is moved from str into this string). str is in a valid but unspecified state afterwards.
| str | String to use as data source. |
|
inlinenoexcept |
Move assignment operator. Replaces the contents with those of other using move semantics (i.e. the data in str is moved from str into this string). str is in a valid but unspecified state afterwards.
| str | String to use as data source. |
|
inlinenoexcept |
Move assignment operator. Replaces the contents with those of other using move semantics (i.e. the data in str is moved from str into this string). str is in a valid but unspecified state afterwards.
| str | String to use as data source. |
|
inlinenoexcept |
Move assignment operator. Replaces the contents with those of other using move semantics (i.e. the data in str is moved from str into this string). str is in a valid but unspecified state afterwards.
| str | String to use as data source. |
|
inlinenoexcept |
Copy assignment operator. Replaces the contents with a copy of the contents of str.
| str | String to use as data source. |
|
inlinenoexcept |
Copy assignment operator. Replaces the contents with a copy of the contents of str.
| str | String to use as data source. |
|
inlinenoexcept |
Copy assignment operator. Replaces the contents with a copy of the contents of str.
| str | String to use as data source. |
|
inlinenoexcept |
Copy assignment operator. Replaces the contents with a copy of the contents of str.
| str | String to use as data source. |
|
inlinenoexcept |
Copy assignment operator. Replaces the contents with a copy of the contents of str.
| str | String to use as data source. |
|
inlinenoexcept |
Copy assignment operator. Replaces the contents with a copy of the contents of str.
| str | String to use as data source. |
|
inlinenoexcept |
Copy assignment operator. Replaces the contents with a copy of the contents of str.
| str | String to use as data source. |
|
inlinenoexcept |
Copy assignment operator. Replaces the contents with a copy of the contents of str.
| str | String to use as data source. |
|
inlinenoexcept |
Copy assignment operator. Replaces the contents with a copy of the contents of str.
| str | String to use as data source. |
|
inlinenoexcept |
Copy assignment operator. Replaces the contents with a copy of the contents of str.
| str | String to use as data source. |
|
inline |
Copy assignment operator. Replaces the contents with a copy of the contents of str.
| str | String litteral pointer to use as data source. |
| xtd::tring_null_pointer_exception | The `str` is null. |
|
inline |
Copy assignment operator. Replaces the contents with a copy of the contents of str.
| str | String litteral pointer to use as data source. |
| xtd::tring_null_pointer_exception | The `str` is null. |
|
inline |
Copy assignment operator. Replaces the contents with a copy of the contents of str.
| str | String litteral pointer to use as data source. |
| xtd::tring_null_pointer_exception | The `str` is null. |
|
inline |
Copy assignment operator. Replaces the contents with a copy of the contents of str.
| str | String litteral pointer to use as data source. |
| xtd::tring_null_pointer_exception | The `str` is null. |
|
inline |
Copy assignment operator. Replaces the contents with a copy of the contents of str.
| str | String litteral pointer to use as data source. |
| xtd::tring_null_pointer_exception | The `str` is null. |
|
inline |
Copy assignment operator. Replaces the contents with the specified character.
| character | The character to use as data source. |
|
inline |
Copy assignment operator. Replaces the contents with the specified character.
| character | The character to use as data source. |
|
inline |
Copy assignment operator. Replaces the contents with the specified character.
| character | The character to use as data source. |
|
inline |
Copy assignment operator. Replaces the contents with the specified character.
| character | The character to use as data source. |
|
inline |
Copy assignment operator. Replaces the contents with the specified character.
| character | The character to use as data source. |
|
inline |
Copy assignment operator. Replaces the contents with a copy of the contents of the specified initializer list.
| il | The initialiazer list to use as data source. |
|
inline |
Copy assignment operator. Replaces the contents with a copy of the contents of the specified initializer list.
| il | The initialiazer list to use as data source. |
|
inline |
Copy assignment operator. Replaces the contents with a copy of the contents of the specified initializer list.
| il | The initialiazer list to use as data source. |
|
inline |
Copy assignment operator. Replaces the contents with a copy of the contents of the specified initializer list.
| il | The initialiazer list to use as data source. |
|
inline |
Copy assignment operator. Replaces the contents with a copy of the contents of the specified initializer list.
| il | The initialiazer list to use as data source. |
|
inline |
Addition assignment operator. Appends additional characters to the string.
| str | string to append. |
|
inline |
Addition assignment operator. Appends additional characters to the string.
| str | string to append. |
|
inline |
Addition assignment operator. Appends additional characters to the string.
| str | string to append. |
|
inline |
Addition assignment operator. Appends additional characters to the string.
| str | string to append. |
|
inline |
Addition assignment operator. Appends additional characters to the string.
| str | string to append. |
|
inline |
Addition assignment operator. Appends additional characters to the string.
| str | string to append. |
|
inline |
Addition assignment operator. Appends additional characters to the string.
| str | string to append. |
|
inline |
Addition assignment operator. Appends additional characters to the string.
| str | string to append. |
|
inline |
Addition assignment operator. Appends additional characters to the string.
| str | string to append. |
|
inline |
Addition assignment operator. Appends additional characters to the string.
| str | string to append. |
|
inline |
Addition assignment operator. Appends additional characters to the string.
| str | string to append. |
|
inline |
Addition assignment operator. Appends additional characters to the string.
| str | string to append. |
|
inline |
Addition assignment operator. Appends additional characters to the string.
| str | string to append. |
|
inline |
Addition assignment operator. Appends additional characters to the string.
| str | string to append. |
|
inline |
Addition assignment operator. Appends additional characters to the string.
| str | string to append. |
|
inline |
Addition assignment operator. Appends additional characters to the string.
| str | string to append. |
|
inline |
Addition assignment operator. Appends additional characters to the string.
| str | string to append. |
|
inline |
Addition assignment operator. Appends additional characters to the string.
| str | string to append. |
|
inline |
Addition assignment operator. Appends additional characters to the string.
| str | string to append. |
|
inline |
Addition assignment operator. Appends additional characters to the string.
| str | string to append. |
|
inline |
Addition assignment operator. Appends additional characters to the string.
| ch | Character value to append. |
|
inline |
Addition assignment operator. Appends additional characters to the string.
| ch | Character value to append. |
|
inline |
Addition assignment operator. Appends additional characters to the string.
| ch | Character value to append. |
|
inline |
Addition assignment operator. Appends additional characters to the string.
| ch | Character value to append. |
|
inline |
Addition assignment operator. Appends additional characters to the string.
| ch | Character value to append. |
|
inlinenodiscardnoexcept |
Name Public Deprecated Methods.
Indicates whether this basic_string is an empty basic_string ("").
|
inlinestaticnodiscard |
Gets the class name of the object_t.
Name Public Deprecated Static Methods
|
inlinestaticnodiscard |
Gets the class name of the specified object.
|
inlinestaticnodiscard |
Gets the class name of the specified object.
|
inlinestaticnodiscard |
Gets the fully qualified class name of the objec_t, including the namespace of the objec_t.
|
inlinestaticnodiscard |
Gets the fully qualified class name of the specified object, including the namespace of the specified object.
|
inlinestaticnodiscard |
Gets the fully qualified class name of the specified object, including the namespace of the specified object.
|
static |
Represents the empty basic_string.
|
inlinestaticconstexpr |
Represents a value that is not a valid position in a collection.
|
inlinestaticconstexpr |
Represents the index of the first valid element in a collection.
|
inlinestaticconstexpr |
Represents the index of the last valid element in a collection.