String.js Jump Start PRO

String.js is a lightweight open source JavaScript library that provides us with useful functions for working with strings.

You can easily download the String.js library code browsing in GitHub at https://github.com/jprichardson/string.js. The string.js library adds the S property to the window global object. The following code sample shows how simple it is to use this library.

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/html">
<head>
    <title>string.js demo</title>
    <script src="string.min.js"></script>
</head>
<body>
    <script type="text/javascript">
        var bookName = S('<book>core scala</book>').between('<book>', '</book>').s;
        document.write(bookName);
    </script>
</body>
</html>

The following video clip overviews this code sample, shows its execution and explains it.

You can find more video clips and training material for learning how to use this library in my free online courses website at http://www.abelski.com.

Share:

banner for the css playlist in hebrew life michael courses for programmers

The First Steps in CSS

Learn CSS using our our videos (in Hebrew) on the CSS (he) playlist on youtube. Do it now. Do it for free.

Good Trainers Collaborate with Others

It is always essential to keep an open mind and learn from others. This applies to everyone, including teachers and especially software development trainers. Software

The Beauty of Code

Coding is Art! Developing Code That Works is Simple. Develop Code with Style is a Challenge!

Update cookies preferences