Get First Word Of A String Before Space Flutter

[Solved] Get First Word Of A String Before Space Flutter | Swift - Code Explorer | yomemimo.com
Question : get first word of a string before space flutter

Answered by : plain-puma-gmv9l20cw1d4

String value = 'The text is this';
value = value.split(' ').first;
print(value)// output: The

Source : | Last Update : Wed, 21 Jul 21

Answers related to get first word of a string before space flutter

Code Explorer Popular Question For Swift