Niyazi Toros
2018-07-16 08:16:29 UTC
Hi,
I have an incoming socket data as shown below;
*Example-1:*
1#.#4#.#B#.#175.52#.#USD#.#Currency
*Example-2: *
2#.#4#.#MyName#.#MySurname#.#MyCity#.#MyCountry#.#YourName#.#YourSurname#.#YourCity#.#YourCountry
Explanation for Example-1:
Separator: #.#
Column_count: 4
Rows_count: 1
Col1 Col2 Col3 Col4
Row-1: B 175.52 USD Currency
Explanation for Example-2:
Separator: #.#
Column_count: 4
Rows_count: 2
Col1 Col2 Col3 Col4
Row-1: MyName MySurname MyCity MyCountry
Row-2: YourName. YourSurname YourCity YourCountry
In dart (or flutter) how can I add this into List or Array? What is the
best practice?
How can I irritate incoming string use split function and add some array?
Any help please?
I have an incoming socket data as shown below;
*Example-1:*
1#.#4#.#B#.#175.52#.#USD#.#Currency
*Example-2: *
2#.#4#.#MyName#.#MySurname#.#MyCity#.#MyCountry#.#YourName#.#YourSurname#.#YourCity#.#YourCountry
Explanation for Example-1:
Separator: #.#
Column_count: 4
Rows_count: 1
Col1 Col2 Col3 Col4
Row-1: B 175.52 USD Currency
Explanation for Example-2:
Separator: #.#
Column_count: 4
Rows_count: 2
Col1 Col2 Col3 Col4
Row-1: MyName MySurname MyCity MyCountry
Row-2: YourName. YourSurname YourCity YourCountry
In dart (or flutter) how can I add this into List or Array? What is the
best practice?
How can I irritate incoming string use split function and add some array?
Any help please?
--
For more ways to connect visit https://www.dartlang.org/community
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
To view this discussion on the web visit https://groups.google.com/a/dartlang.org/d/msgid/misc/1d40fb3f-802a-4c0e-bfbb-96c34e4a4326%40dartlang.org.
For more ways to connect visit https://www.dartlang.org/community
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
To view this discussion on the web visit https://groups.google.com/a/dartlang.org/d/msgid/misc/1d40fb3f-802a-4c0e-bfbb-96c34e4a4326%40dartlang.org.