bcParser.NET
Math Parser for .NET
Static Public Member Functions | List of all members
Bestcode.MathParser.StrUtil Class Reference

Basic String utilities. More...

Static Public Member Functions

static String Replace (String src, String from, String to)
 Find occurences of 'from' in 'src' and Replace them with 'to'. More...
 
static String Replace (String src, char from)
 Find occurences of 'from' in 'src' and Replace them with "". Other variants of Replace can also be used <Replace(src, from, "")> to do this but this version is faster. More...
 
static String Replace (String src, String from, char to)
 Find occurences of 'from' in 'src' and Replace them with 'to'. More...
 
static String Replace (String src, char from, String to)
 Find occurences of 'from' in 'src' and Replace them with 'to'. More...
 

Detailed Description

Basic String utilities.

Member Function Documentation

static String Bestcode.MathParser.StrUtil.Replace ( String  src,
String  from,
String  to 
)
static

Find occurences of 'from' in 'src' and Replace them with 'to'.

Parameters
src
from
to
Returns
static String Bestcode.MathParser.StrUtil.Replace ( String  src,
char  from 
)
static

Find occurences of 'from' in 'src' and Replace them with "". Other variants of Replace can also be used <Replace(src, from, "")> to do this but this version is faster.

Parameters
src
from
Returns
static String Bestcode.MathParser.StrUtil.Replace ( String  src,
String  from,
char  to 
)
static

Find occurences of 'from' in 'src' and Replace them with 'to'.

Parameters
src
from
to
Returns
static String Bestcode.MathParser.StrUtil.Replace ( String  src,
char  from,
String  to 
)
static

Find occurences of 'from' in 'src' and Replace them with 'to'.

Parameters
src
from
to
Returns