002
This commit is contained in:
9
remove_string_space.v
Normal file
9
remove_string_space.v
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
import readline
|
||||||
|
|
||||||
|
fn main() {
|
||||||
|
mut r := readline.Readline{}
|
||||||
|
a := r.read_line('Enter your string: ')!
|
||||||
|
|
||||||
|
b := a.replace(' ', '')
|
||||||
|
print(b)
|
||||||
|
}
|
Reference in New Issue
Block a user