• Home
  • Raw
  • Download

Lines Matching refs:str

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