Answers for "get first word of a string before space flutter"

0

get first word of a string before space flutter

String value = 'The text is this';
value = value.split(' ').first; 
print(value)// output: The
Posted by: Guest on July-14-2021

Code answers related to "get first word of a string before space flutter"

Browse Popular Code Answers by Language