Primitive Type str
[-]
[+]
String manipulation
For more details, see std::str
String manipulation
For more details, see std::str
impl Repr<Slice<u8>> for strfn repr(&self) -> Timpl Ord for strimpl PartialEq for strimpl Eq for strimpl PartialOrd for strfn partial_cmp(&self, other: &str) -> Option<Ordering>fn lt(&self, other: &Rhs) -> boolfn le(&self, other: &Rhs) -> boolfn gt(&self, other: &Rhs) -> boolfn ge(&self, other: &Rhs) -> boolimpl<S: Str> Equiv<S> for strfn equiv(&self, other: &S) -> boolimpl Slice<uint, str> for strfn as_slice_<'a>(&'a self) -> &'a strfn slice_from_or_fail<'a>(&'a self, from: &uint) -> &'a strfn slice_to_or_fail<'a>(&'a self, to: &uint) -> &'a strfn slice_or_fail<'a>(&'a self, from: &uint, to: &uint) -> &'a strimpl Str for strimpl StrExt for strfn contains(&self, needle: &str) -> boolfn contains_char<P: CharEq>(&self, pat: P) -> boolfn chars(&self) -> Charsfn bytes(&self) -> Bytesfn char_indices(&self) -> CharIndicesfn split<P: CharEq>(&self, pat: P) -> Split<P>fn splitn<P: CharEq>(&self, count: uint, pat: P) -> SplitN<P>fn split_terminator<P: CharEq>(&self, pat: P) -> SplitTerminator<P>fn rsplitn<P: CharEq>(&self, count: uint, pat: P) -> RSplitN<P>fn match_indices<'a>(&'a self, sep: &'a str) -> MatchIndices<'a>fn split_str<'a>(&'a self, sep: &'a str) -> SplitStr<'a>fn lines(&self) -> Linesfn lines_any(&self) -> LinesAnyfn char_len(&self) -> uintfn slice(&self, begin: uint, end: uint) -> &strfn slice_from(&self, begin: uint) -> &strfn slice_to(&self, end: uint) -> &strfn slice_chars(&self, begin: uint, end: uint) -> &strunsafe fn slice_unchecked(&self, begin: uint, end: uint) -> &strfn starts_with(&self, needle: &str) -> boolfn ends_with(&self, needle: &str) -> boolfn trim_matches<P: CharEq>(&self, pat: P) -> &strfn trim_left_matches<P: CharEq>(&self, pat: P) -> &strfn trim_right_matches<P: CharEq>(&self, pat: P) -> &strfn is_char_boundary(&self, index: uint) -> boolfn char_range_at(&self, i: uint) -> CharRangefn char_range_at_reverse(&self, start: uint) -> CharRangefn char_at(&self, i: uint) -> charfn char_at_reverse(&self, i: uint) -> charfn as_bytes(&self) -> &[u8]fn find<P: CharEq>(&self, pat: P) -> Option<uint>fn rfind<P: CharEq>(&self, pat: P) -> Option<uint>fn find_str(&self, needle: &str) -> Option<uint>fn slice_shift_char(&self) -> Option<(char, &str)>fn subslice_offset(&self, inner: &str) -> uintfn as_ptr(&self) -> *const u8fn len(&self) -> uintfn is_empty(&self) -> boolimpl<'a> Default for &'a strimpl<S: Writer> Hash<S> for strfn hash(&self, state: &mut S)impl Show for str
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct, enum,
trait, typedef (or
tdef).