python remove first and last character from string
string = string[1:-1]
python remove first and last character from string
string = string[1:-1]
remove first character from string
String str = "Hello World";
String str2 = str.substring(1,str.length());
Remove first and last letter of string
// Remove first and last letter of string
fn main() {
let text = "Hello, world";
// remove last letter
let mut text = text.split_at(text.len() - 1);
// remove first letter
text = text.0.split_at(1);
println!("{}", text.1);
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us