String insert function : String Utilities « Development « JavaScript DHTML






String insert function

<html>
<head>
<title>DynAPI Examples - Functions</title>
<script language="JavaScript" src="./dynapisrc/dynapi.js"></script>
<script language="Javascript">
dynapi.library.setPath('./dynapisrc/');
dynapi.library.include('dynapi.library');
dynapi.library.include('dynapi.functions');
dynapi.library.include('dynapi.api');
</script>
</head>
<body>
<font face="arial" size="2">
<script>
var doc=document;
f=dynapi.functions;

doc.write('strStuff: '+f.strStuff('My string',' cool',2)+'<br><br>');
</script>
</font>
</body>
</html>

           
       








dynapi.zip( 791 k)

Related examples in the same category

1.String reverse function
2.String repeat function
3.String trim function
4.String coalesce