0

Does anyone have a MyString constructor I could look as a reference? Be a great help☺

mystring (string str),char charAt (int index),int compareTo (mystring anotherMystring),compareToIgnoreCase (mystring anotherMyString), Mystring concat (mystring , boolean endsWith(mystring suffix), boolean equals(mystring anotherMyString),int indexOf (char ch),int indexOf (char ch,int fromIndex), int lastIndexOf (char ch), int length (), Mystring replace (char oldChar, char newChar),boolean startsWithString (mystring prefix),Mystring substring(int beginIndex)/(int beginIndex int end Index)

25th Mar 2017, 5:58 PM
bobo
1 Resposta
+ 13
Create strings like this: String str = "myString"; What do you want to say with the description?
26th Mar 2017, 4:12 PM
Tashi N
Tashi N - avatar