Check out example codes for "convert entire string to lowercase c++". It will help you in understanding the concepts better.

Code Example 1

    // sl is the string which is converted to lowercase 
    string sl = "Jatin Goyal"; 
  
    // using transform() function and ::tolower in STL 
    transform(sl.begin(), sl.end(), sl.begin(), ::tolower);

Learn ReactJs, React Native from akashmittal.com