Skip to main content
head
xil_
core
1.2.0
In xil_
core::
pyfmt
xil_core
::
pyfmt
Function
head
Copy item path
Source
pub fn head(s: &
str
, n:
usize
) ->
String
Expand description
s[:n]
— the first
n
characters.