skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class ClrExpressionStringMethods

Contains all the string operations available in RadExpressionEditor.

Inheritance
System.Object
ClrExpressionStringMethods
Namespace: Telerik.Expressions
Assembly: Telerik.Windows.Data.dll

Syntax

public static class ClrExpressionStringMethods : Object

Methods

Concat(String, String)

Concatenates two specified instances of System.String.

Declaration
public static string Concat(string value1, string value2)
Parameters
System.String value1

System.String value2

Returns
System.String

Contains(String, String)

Returns a value indicating whether the specified System.String object occurs within this string.

Declaration
public static bool Contains(string text, string value)
Parameters
System.String text

System.String value

Returns
System.Boolean

ConvertToString(Object)

Returns a string representation of an object.

Declaration
public static string ConvertToString(object value)
Parameters
System.Object value

Returns
System.String

EndsWith(String, String)

Determines whether the end of this string instance matches the specified string.

Declaration
public static bool EndsWith(string text, string value)
Parameters
System.String text

System.String value

Returns
System.Boolean

Format(String, Object)

Replaces the format item in a specified System.String with the text equivalent of the value of a specified System.Object instance.

Declaration
public static string Format(string formatValue, object value)
Parameters
System.String formatValue

System.Object value

Returns
System.String

IndexOf(String, String)

Reports the index of the first occurrence of the specified string in this instance.

Declaration
public static int IndexOf(string text, string value)
Parameters
System.String text

System.String value

Returns
System.Int32

Insert(String, Int32, String)

Inserts String2 into String1 at the position specified by StartPosition.

Declaration
public static string Insert(string text, int startPosition, string value)
Parameters
System.String text

System.Int32 startPosition

System.String value

Returns
System.String

LastIndexOf(String, String)

Reports the index position of the last occurrence of a specified string within this instance.

Declaration
public static int LastIndexOf(string text, string value)
Parameters
System.String text

System.String value

Returns
System.Int32

Len(String)

Gets the number of characters in a string.

Declaration
public static int Len(string text)
Parameters
System.String text

Returns
System.Int32

Lower(String)

Returns the String in lowercase.

Declaration
public static string Lower(string text)
Parameters
System.String text

Returns
System.String

LowerInvariant(String)

Returns a copy of this System.String object converted to lowercase using the casing rules of the invariant culture.

Declaration
public static string LowerInvariant(string text)
Parameters
System.String text

Returns
System.String

PadLeft(String, Int32)

Left-aligns characters in the defined string, padding its left side with white space characters up to a specified total length.

Declaration
public static string PadLeft(string text, int length)
Parameters
System.String text

System.Int32 length

Returns
System.String

PadRight(String, Int32)

Right-aligns characters in the defined string, padding its left side with white space characters up to a specified total length.

Declaration
public static string PadRight(string text, int length)
Parameters
System.String text

System.Int32 length

Returns
System.String

Remove(String, Int32, Int32)

Deletes a specified number of characters from this instance, beginning at a specified position.

Declaration
public static string Remove(string text, int startPosition, int length)
Parameters
System.String text

System.Int32 startPosition

System.Int32 length

Returns
System.String

Replace(String, String, String)

Returns a copy of String1, in which value2 has been replaced with String3.

Declaration
public static string Replace(string text, string value, string newValue)
Parameters
System.String text

System.String value

System.String newValue

Returns
System.String

StartsWith(String, String)

Determines whether the beginning of this string instance matches the specified string.

Declaration
public static bool StartsWith(string text, string value)
Parameters
System.String text

System.String value

Returns
System.Boolean

Substring(String, Int32, Int32)

Retrieves a value from a string. The value starts at a specified character position and has a specified length.

Declaration
public static string Substring(string text, int startIndex, int length)
Parameters
System.String text

System.Int32 startIndex

System.Int32 length

Returns
System.String

Trim(String)

Removes all occurrences of white space characters from the beginning and end of the string.

Declaration
public static string Trim(string text)
Parameters
System.String text

Returns
System.String

Upper(String)

Returns String in uppercase.

Declaration
public static string Upper(string text)
Parameters
System.String text

Returns
System.String

UpperInvariant(String)

Returns a copy of this System.String object converted to uppercase using the casing rules of the invariant culture.

Declaration
public static string UpperInvariant(string text)
Parameters
System.String text

Returns
System.String

Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.