[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH] Be more careful when selecting a vg name.



> I strip the new lines at the beginning and end of the string to then
> split with the newlines that are left inside the sting.
> 
> 1. raw string:
> \nasdf\nwqer\nsag\nwer\n\n
> 2. stripted stirng
> asdf\nwqer\nsag\nwer
> 3. split string
> ["asdf", "nwqer", "sag", "wer"]

Makes sense to me.  Go with it!

- Chris


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]