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
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