How to remove certain character from string in Flutter

my reqirement to get id and triptitle seprately

and my code looklike

in above figure id.triptile in dart file i have to get seprately id and title

solution:

now, i will get only country name

Refrence:https://stackoverflow.com/questions/59763793/flutter-remove-string-after-certain-character

Related Posts

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
Artificial Intelligence