Show / Hide Table of Contents

Class StringExtensions

Inheritance
System.Object
StringExtensions
Namespace: Sandbox.Game
Assembly: Sandbox.Game.dll
Syntax
public static class StringExtensions : Object

Methods

Get7bitEncodedSize(String)

Declaration
public static int Get7bitEncodedSize(this string self)
Parameters
Type Name Description
System.String self
Returns
Type Description
System.Int32

Truncate(String, Int32)

Declaration
public static string Truncate(this string s, int length)
Parameters
Type Name Description
System.String s
System.Int32 length
Returns
Type Description
System.String
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾