Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

react native capitalize first letter

<Text>{str.charAt(0).toUpperCase() + str.slice(1);}</Text>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #react #native #capitalize #letter
ADD COMMENT
Topic
Name
3+2 =