Article

Introduction

https://cdn.jsdelivr.net/npm/[email protected]/dist/js.cookie.min.js
Copy to clipboard

A string is simply a piece of text.

A string object provides a number of functions that allow the manipulation of a series of characters.

JavaScript converts all sequence of characters to string objects therefore all text can be manipulated with string object functions. Among the most useful property of a string is the .length, that can be accessed by writing: https://raw.githubusercontent.com/finsweet/jqueryCourse/main/jsobjects/ex11.js?actionable=true

<script>
$(document).ready(function(){
  XT1
});
</script>
Copy to clipboard
Send to Live Demo

Live demo

<div id="minidivpage" class="example-live"><div id="resultdiv"></div></div>

<script>    
$(document).ready(function() {
  XT1
});
</script>
<script>
  
</script>
Copy to clipboard
Press the Run Demo button to execute the scripts above.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Your browser is too small

Resize your browser to be at least 769px wide.