trim_left_copy

Top  Previous  Next

Scripts > Class elements and c++ instructions > String manipulation > trim_left_copy

 

Prototype

 

str trim_left_copy(const str& xs)

 

Description

 

Remove all leading spaces from the input. The result is a trimmed copy of the input.

 

 

Example:

 

str s = trim_left_copy("   TextTransformer   ");

 

has the result: s == "TextTransformer   ".

 

 



This page belongs to the TextTransformer Documentation

Home  Content  German