Hinweis:Dieser Abschnitt ist nur in englischer Sprache verfügbar. Wir bitten um Ihr Verständnis.

3.5.7.38 StripLeading

Contents

Description

This function takes a string str$ and removes any leading list marker (number, letter, or bullet) and the whitespace(s) that follows it. The list marker are recognized when they begin with a Numeric Value/Single Letter followed by one of following separator: whitespace, ) (right-parenthesis), . (dot), : (colon). See Ex2 for more information.

Syntax

string StripLeading(string str$)$

Parameters

str

is the string to trim the leading list marker.

Return

removes any leading list marker and following whitespace(s) in str$.

Example

Ex1

StripLeading("1. this is a test")$=; //returns "this is a test".

Ex2

StripLeading Ex.png

See Also

Trim