string.TrimRight

From Garry's Mod
Jump to: navigation, search
 string.TrimRight( )

Contents

Description

Removes trailing spaces/passed character from a string.

Arguments

string str

String to remove from

Arguments

string char=" "

Custom character to remove, default is a space

Returns

string

Trimmed string
Personal tools
Navigation