Microtext.js Jump Start PRO

The Microtext.js open source JavaScript library provides us with useful functions for working with texts. Using this library is fairly simple. It doesn’t require any other library.

The following code sample shows how simple it is to use the functions this library provides us with.

<!DOCTYPE html>
<html>
<head>
    <title>microtext.js demo</title>
    <script type="text/javascript" src="microtext.min.js"></script>
</head>
<body>
    <script type="text/javascript">
        document.writeln("<br>"+Microtext.hideEmail("haim.michael@gmail.com"));
        document.writeln("<br>"+Microtext.truncate("we love programming in scala",8));
        document.writeln("<br>"+Microtext.capitalize("java"));
    </script>
</body>
</html>

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

You can find more video clips, code samples and other types of training material for learning how to use this library in my free online courses website at http://lifemichael.lifemichael.com.

Share:

The Visitor Design Pattern

The Visitor Design Pattern

The visitor design pattern allows us to add operations to objects that already exist without modifying their classes and without extending them.

The Beauty of Code

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

Update cookies preferences