capitalize first letter react native code example Example: react native capitalize first letter <Text>{str.charAt(0).toUpperCase() + str.slice(1);}</Text>