Reference   Language | Libraries | Comparison | Changes

String

remove()

Description

Modify in place a string removing chars from the provided index to the end of the string or from the provided index to index plus count.

Syntax

string.remove(index)

string.remove(index, count)

Parameters

index: a variable of type unsigned int

count: a variable of type unsigned int

Returns

none

Example

Reference Home

Corrections, suggestions, and new documentation should be posted to the Forum.

The text of the Arduino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.

Share