[Vala] triming
- From: Mic <mictadlo gmail com>
- To: vala-list gnome org
- Subject: [Vala] triming
- Date: Fri, 13 Apr 2012 20:29:10 +1000
Hello,
How to split strings and remove '\n' and spaces? In python I did it in the
following way:
for line in f:
try:
parts = [part.strip() for part in line.split(',')]
except IndexError:
continue
Thank you in advance.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]