tumblr tracker

RemoveAt

Library Reference ›› String ››
Parent Previous Next

String.RemoveAt


Namespace: String


Removes number of characters from a string at the specified position.


retval = String.RemoveAt(Input, Position, Length)


Parameters:

- Input; string constant or variable or function returning a string; the string to remove the characters from

- Position; numeric value; the position where to begin with the removing

- Length; numeric value; how many characters to remove


Returns:

The new string.


Example


$str = String.RemoveAt("My first string", 3, 6);


After execution of the above line the $str variable will contain the My string value.