Unicode string slices.
See also the str
primitive type.
pattern | [ Experimental ] The string Pattern API. |
Bytes | External iterator for a string's bytes. Use with the |
CharIndices | Iterator for a string's characters and their byte offsets. |
Chars | Iterator for the char (representing Unicode Scalar Values) of a string |
EncodeUtf16 | External iterator for a string's UTF-16 code units. |
Lines | Created with the method |
LinesAny | [ Deprecated ] Created with the method |
MatchIndices | Created with the method |
Matches | Created with the method |
ParseBoolError | An error returned when parsing a |
RMatchIndices | Created with the method |
RMatches | Created with the method |
RSplit | Created with the method |
RSplitN | Created with the method |
RSplitTerminator | Created with the method |
Split | Created with the method |
SplitN | Created with the method |
SplitTerminator | Created with the method |
SplitWhitespace | An iterator over the non-whitespace substrings of a string, separated by any amount of whitespace. |
Utf8Error | Errors which can occur when attempting to interpret a sequence of |
FromStr | A trait to abstract the idea of creating a new instance of a type from a string. |
from_utf8 | Converts a slice of bytes to a string slice. |
from_utf8_unchecked⚠ | Converts a slice of bytes to a string slice without checking that the string contains valid UTF-8. |
© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/str/index.html