Lines Matching refs:str

43         public static char charAt( this string str, int index )
45 return str[index];
49 public static bool endsWith( this string str, string value )
51 return str.EndsWith( value );
55 public static int indexOf( this string str, char value )
57 return str.IndexOf( value );
61 public static int indexOf( this string str, char value, int startIndex )
63 return str.IndexOf( value, startIndex );
67 public static int indexOf( this string str, string value )
69 return str.IndexOf( value );
73 public static int indexOf( this string str, string value, int startIndex )
75 return str.IndexOf( value, startIndex );
79 public static int lastIndexOf( this string str, char value )
81 return str.LastIndexOf( value );
85 public static int lastIndexOf( this string str, string value )
87 return str.LastIndexOf( value );
91 public static int length( this string str )
93 return str.Length;
97 public static string replace(this string str, char oldValue, char newValue)
99 return str.Replace(oldValue, newValue);
103 public static string replaceAll( this string str, string regex, string newValue )
105 return Regex.Replace( str, regex, newValue );
108 public static string replaceFirst( this string str, string regex, string replacement )
110 return Regex.Replace( str, regex, replacement );
115 public static bool startsWith( this string str, string value )
117 return str.StartsWith( value );
121 public static string substring( this string str, int startOffset )
123 return str.Substring( startOffset );
127 public static string substring(this string str, int startOffset, int endOffset)
129 return str.Substring( startOffset, endOffset - startOffset );
133 public static char[] toCharArray( this string str )
135 return str.ToCharArray();
139 public static string toUpperCase( this string str )
141 return str.ToUpperInvariant();
145 public static string trim( this string str )
147 return str.Trim();