MCPcopy Index your code
hub / github.com/endbasic/endbasic / end

Method end

std/src/console/linebuffer.rs:53–55  ·  view source on GitHub ↗

Returns the end of the string starting at `start_pos`, or an empty string if `start_pos` is after the string's end.

(&self, start_pos: usize)

Source from the content-addressed store, hash-verified

51 /// Returns the end of the string starting at `start_pos`, or an empty string if `start_pos` is
52 /// after the string's end.
53 pub fn end(&self, start_pos: usize) -> String {
54 self.chars().skip(start_pos).collect()
55 }
56
57 /// Returns the characters from the start of the string to `end_pos`, excluding `end_pos`.
58 ///

Callers 2

erase_atMethod · 0.80
do_charMethod · 0.80

Calls 1

charsMethod · 0.80

Tested by

no test coverage detected