Garry's Mod Wiki

Garry's Mod Wiki

  string string.TrimRight( string str, string char = "%s" )

Description

Removes trailing spaces/passed character from a string.

Arguments

1 string str
String to remove from
2 string char = "%s"
Custom character to remove, default is a space

Returns

1 string
Trimmed string

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...