Check out example codes for "String parameter too long.' c#". It will help you in understanding the concepts better.

Code Example 1

// Find text 
Range range = doc.Content;
range.Find.Execute(findText);
// Define new range 
range = doc.Range(range.End + 1, range.End + 1);
range.Text = "new text...";

Code Example 2

// Find text 
Range range = doc.Content;
range.Find.Execute(findText);
range.Text = "new text...";

Learn ReactJs, React Native from akashmittal.com