Skip to content
InfinityKnow

InfinityKnow

Infinity Knowledge (IK) : Technology, Articles, Topics, Facts or many More.

  • Home
  • Education
    • yttags
    • Make Money
    • Jobs
    • Programming
      • Technology
      • Web Design
      • WEB HOSTING
      • Interview
  • Entertainment
    • pakainfo
    • Sports
    • Tips and Tricks
      • Law
      • Photography
      • Travel
  • Health
    • Insurance
    • Lifestyle
      • Clothing
      • Fashion
      • Food
  • News
    • Insurance
      • Auto Car Insurance
      • Business Insurance
    • Donate
    • California
  • News
    • Political
  • Home Improvement
  • Trading
    • Marketing
    • Top Tranding
    • Business
    • Real Estate
  • Full Form
  • Contact Us
  • Laravel 6 Logs Errors and Exception handling Example From Scratch Technology
  • Laravel Trusting All Proxies & Configuring Trusted Proxies Technology
  • ach full form – ach Kya Hai, Meaning and Abbreviation – What is the full form of ach? full form
  • Insurance Firms Marketing Ideas, Tips and strategies
    Insurance Firms Marketing Ideas, Tips and strategies Insurance
  • mr full form – mr Kya Hai, Meaning and Abbreviation – What is the full form of mr ? full form
  • y2mate_app
    Y2mate App: FACEBOOK, INSTAGRAM, YOUTUBE, DOWNLOAD VIDEOS with MP3 and MP4 DOWNLOAD Articles
  • Dynamically Set navbar active tab angularjs ngclass
    Dynamically Set navbar active tab angularjs ngclass Technology
  • Create simple VueJS Modal popup Component using Bootstrap CSS
    Create simple VueJS Modal popup Component using Bootstrap CSS Technology
Capitalize First Letter JavaScript Example

Capitalize First Letter JavaScript Example

Posted on August 11, 2018 By admin No Comments on Capitalize First Letter JavaScript Example

Today, We want to share with you Capitalize First Letter JavaScript Example.In this post we will show you javascript capitalize, hear for javascript capitalize first letter of each word in array we will give you demo and example for implement.In this post, we will learn about javascript capitalize first letter with an example.

Capitalize First Letter JavaScript Demo

javascript capitalize first letter

simple Convert the first character of “hello infinityknow.com examples” to uppercase:

[php]
function capitalizeFirstLetter(mystr) {
return mystr.charAt(0).toUpperCase() + mystr.slice(1);
}
[/php]

javascript capitalize

How To Capitalize The First Letter Of A String using JavaScript

[php]
var firstLetter = string.charAt(0);
[/php]

Capitalizing first letter of each word in string

Simple JavaScript example to Capitalize First Letter of each particuler word of a given string.

READ :  Routing in laravel 6 Web Application Tutorial

HTML Code:
[php]





capitalize first letter javascript.


//This Example Output Here…


[/php]

JavaScript Code:
[php]
function capitalize_first_letter(mystr)
{
mystr = mystr.split(” “);

for (var i = 0, x = mystr.length; i < x; i++) { mystr[i] = mystr[i][0].toUpperCase() + mystr[i].substr(1); } return mystr.join(" "); } console.log(capitalize_first_letter("InfinityKnow Capitalize First Letter of each sentence using JavaScript.")); [/php]

javascript capitalize Example

CSS capitalize first letter
[php]

InfinityKnow Capitalize First Letter of each sentence using CSS

[/php]
[php]
p:first-letter {
text-transform:capitalize;
}
[/php]

jQuery 15 Powerful Tips and Tricks for Developers and Web Designer

Read :

  • Technology
  • Google Adsense
  • Articles

Summary

You can also read about AngularJS, ASP.NET, VueJs, PHP.

I hope you get an idea about javascript capitalize first letter of each word.
I would like to have feedback on my Infinityknow.com blog.
Your valuable feedback, question, or comments about this article are always welcome.
If you enjoyed and liked this post, don’t forget to share.

READ :  Angularjs math expression - number expressions Example

Related posts:

  1. JavaScript Capitalize First Letter of each sentence
  2. AngularJS filter capitalize First letter of Every word
  3. Vuejs Simple Navigation Menu vue router-link params
  4. Responsive Navigation Menu CSS Free download
Technology Tags:angular capitalize first letter, capitalize first letter css, capitalize first letter javascript, es6 capitalize first letter, javascript capitalize, javascript capitalize first letter, javascript capitalize first letter of each word, javascript capitalize first letter of each word in array, jquery capitalize first letter, lodash capitalize first letter, react capitalize first letter

Post navigation

Previous Post: Difference between private public and hybrid cloud
Next Post: PHP classes constructor and destructor Example

Related Posts

  • Laravel 6 Logs Errors and Exception handling Example From Scratch Technology
  • Laravel INSERT UPDATE DELETE Example Step By Step
    Laravel INSERT UPDATE DELETE Example Step By Step Technology
  • vuejs toggle class – vue js v-class – Dynamic Components in Vuejs
    vuejs toggle class – vue js v-class – Dynamic Components in Vuejs Technology
  • Vue js toggle class switch switch show and hide Example
    Vue js toggle class switch switch show and hide Example Technology
  • Laravel Eloquent Join Multiple Table
    Laravel Eloquent Join Multiple Table Technology
  • C# HashSet Tutorial with Examples Technology

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Account web hosting (1)
  • AngularJs (277)
  • Articles (143)
  • Asp.Net (49)
  • Astrology (2)
  • Attorney (7)
  • Auto Car Insurance (4)
  • Biography (2)
  • Business (9)
  • Business Insurance (3)
  • California (4)
  • Choose the web hosting (1)
  • Clothing (6)
  • cloud (8)
  • Cloud data storage (2)
  • Credit (1)
  • Dedicated hosting server web (1)
  • Dedicated server web hosting (1)
  • Dedicated web hosting (1)
  • Degree (11)
  • Design (9)
  • Differences shared hosting (1)
  • Donate (2)
  • Education (37)
  • Energy web hosting (1)
  • Entertainment (6)
  • Facts (12)
  • Fashion (3)
  • Finance (3)
  • Food (5)
  • full form (90)
  • Google Adsense (22)
  • Health (20)
  • Home Improvement (5)
  • Insurance (6)
  • Interview (2)
  • Jobs (6)
  • jquery (2)
  • jQuery (2)
  • Laravel (164)
  • Lawyer (4)
  • Lifestyle (6)
  • Loans (6)
  • Make Money (31)
  • Managed dedicated server (1)
  • Managed hosting solution (1)
  • Managed servers (1)
  • Marketing (8)
  • Mortgage (2)
  • Movies (21)
  • MySQL (180)
  • News (5)
  • Photography (1)
  • PHP (250)
  • Programming (18)
  • Quotes (75)
  • Real Estate (2)
  • SEO (9)
  • Shared web hosting (1)
  • Shayari (67)
  • Sports (5)
  • Status (34)
  • Stories (45)
  • suvichar (8)
  • Tech (3)
  • Technology (675)
  • Tips and Tricks (42)
  • Top Tranding (35)
  • Trading (28)
  • Travel (12)
  • Uncategorized (8)
  • VueJs (179)
  • Web Design (2)
  • WEB HOSTING (1)
  • Web hosting company (1)
  • Web hosting really (1)
  • Web hosting windows (1)
  • Which website hosting (1)
  • Wishes (13)
  • wordpress (15)

Categories

AngularJs (277) Articles (143) Asp.Net (49) Attorney (7) Business (9) Clothing (6) cloud (8) Degree (11) Design (9) Education (37) Entertainment (6) Facts (12) Food (5) full form (90) Google Adsense (22) Health (20) Home Improvement (5) Insurance (6) Jobs (6) Laravel (164) Lifestyle (6) Loans (6) Make Money (31) Marketing (8) Movies (21) MySQL (180) News (5) PHP (250) Programming (18) Quotes (75) SEO (9) Shayari (67) Sports (5) Status (34) Stories (45) suvichar (8) Technology (675) Tips and Tricks (42) Top Tranding (35) Trading (28) Travel (12) Uncategorized (8) VueJs (179) Wishes (13) wordpress (15)
  • Bible quotes Quotes
  • Increase Google AdSense highest CPC Keywords
    Increase Google AdSense highest CPC Keywords Google Adsense
  • CBD
    Buy CBD on account Janar nature – BUY NOW Health
  • 100 International Universities list
    Top 100 International Universities list Articles
  • angularbind – AngularJS Bind Function – Angular Binding Examples
    angularbind – AngularJS Bind Function – Angular Binding Examples Technology
  • minions pictures quotes Quotes
  • C# Continue keyword Tutorial with Examples Technology
  • C# Sealed Class Tutorial with Examples Technology

Copyright © 2022 InfinityKnow.

Powered by PressBook News WordPress theme