Пример #1
0
 public bool StartsWith(string prefix, int toffset)
 {
     return(toffset >= 0 && StringExtensions.SubString(this.value, toffset, prefix.Length).Equals(prefix));
 }
Пример #2
0
 public bool EndsWith(string prefix)
 {
     return(StringExtensions.EndsWith(this.value, prefix));
 }
Пример #3
0
 public string[] Split(string regex, int maxMatch)
 {
     return(StringExtensions.Split(this.value, regex, maxMatch));
 }
Пример #4
0
 public bool StartsWith(string prefix)
 {
     return(StringExtensions.StartsWith(this.value, prefix));
 }
Пример #5
0
 public int LastIndexOf(string str)
 {
     return(StringExtensions.LastIndexOf(this.value, str));
 }
Пример #6
0
 public string[] Split(string regex)
 {
     return(StringExtensions.Split(this.value, regex));
 }
Пример #7
0
 public int IndexOf(int codePoint)
 {
     return(StringExtensions.IndexOf(this.value, codePoint));
 }
Пример #8
0
 public int LastIndexOf(int codePoint, int startIndex)
 {
     return(StringExtensions.LastIndexOf(this.value, codePoint, startIndex));
 }
Пример #9
0
 public CharSequence SubSequence(int start, int end)
 {
     return(new JavaString(StringExtensions.SubString(this.value, start, end)));
 }
Пример #10
0
 public int IndexOf(string str, int startIndex)
 {
     return(StringExtensions.IndexOf(this.value, str, startIndex));
 }
Пример #11
0
 public char CharAt(int index)
 {
     return(StringExtensions.CharAt(this.value, index));
 }
Пример #12
0
 public void GetChars(int srcBegin, int srcEnd, char[] dst, int dstBegin)
 {
     StringExtensions.GetChars(this.value, srcBegin, srcEnd, dst, dstBegin);
 }
Пример #13
0
 public string Substring(int beginIndex, int endIndex)
 {
     return(StringExtensions.SubString(this.value, beginIndex, endIndex));
 }
Пример #14
0
 public string Replace(object oldchar, object newchar)
 {
     return(StringExtensions.Replace(this.value, oldchar, newchar));
 }
Пример #15
0
 public string Replace(char oldchar, char newchar)
 {
     return(StringExtensions.Replace(this.value, oldchar, newchar));
 }