Did a bit of polishing up
This commit is contained in:
Binary file not shown.
@@ -1,8 +1,7 @@
|
||||
pub fn extract_quoted(parts: &[&str]) -> Option<String> {
|
||||
pub fn extract_quoted(parts: &[&str]) -> Option<String> { // TODO also return a number to increment by
|
||||
let mut vec_string = Vec::new();
|
||||
for part in parts
|
||||
{
|
||||
println!("{}",part);
|
||||
if part.chars().next_back().unwrap() == '"'
|
||||
{
|
||||
vec_string.push(*part);
|
||||
|
||||
Reference in New Issue
Block a user