Manipulating string objects

<< Click to Display Table of Contents >>

Navigation:  NinjaScript > Educational Resources > Reference Samples > Indicator >

Manipulating string objects

Previous page Return to chapter overview Next page

Dealing with strings and other related concepts are essential to many computer programs. This sample is a collection of some of the most common string and text related functions including splitting a string, replacing a string with another string, and a few other string functions.


Key concepts in this example

Simple text/string manipulation ideas


Important related documentation





Escape characters

Foreach iterator

String literals




Note: A related sample demonstrating how to format numbers can be found here.


Import instructions

1.Download the file contained in this Help Guide topic to your PC desktop

2.From the Control Center window, select the menu Tools > Import > NinjaScript

3.Select the downloaded file