Java Bangla Tutorials 88 : String (part-3)

preview_player
Показать описание
➡️ In this video, I will discuss about some of the string functions.
⭐️ Video Contents ⭐️
⌨️ (00:00) Intro
⌨️ (00:11) string and its functions (part 3)
⌨️ (4:20) outro

🛑 Web development? Checkout following playlists :

🛑 Programming languages? Check out the following playlists:

🛑 Android development? Check out the following playlists:

🛑 HSC Students? Are you worried about ICT? I have created 377 videos for you. check out the following playlists-

🛑 CSE Students? Checkout following playlists :

🛑 MS Office? Trying to learn MS office to improve your skill? Checkout following playlists :

#java #anisul_islam #java_bangla_tutorial #web_development #bangla_web_development #andorid #javaprogramming #javatutorial #bangla_tutorial #java_anisul_islam
Рекомендации по теме
Комментарии
Автор

package string;

public class StringThree {

public static void main(String[] args) {
String sent = " Beauty of nature ";
System.out.println(sent);

String one = sent.trim();
System.out.println(one);

char two = sent.charAt(7);
System.out.println(two);

int three = sent.codePointAt(7);
System.out.println(three);

int four = sent.indexOf("a");
System.out.println("Index of first a is : " + four);
int five = sent.lastIndexOf("a");
System.out.println("Index of last a is : " + five);
}

}

elorabarua
Автор

package newpackage;


public class String3 {
public static void main(String[] args) {
String A = "I Love My Country";
System.out.println(A);

String B = A.trim();
System.out.println(B);

char ch = A.charAt(0);
System.out.println("ch is : "+ch);

int value = A.codePointAt(0);
System.out.println("value is : "+ch);

int position = A.indexOf("Country");
System.out.println("Position is : "+position);

position = A.lastIndexOf('y');
System.out.println("Last Position is : "+position);


}
}

tomabanik
Автор

package startjava;


public class StringPart2 {
public static void main(String[] args) {
String firstName = " Sita ";
String lastName = "Rani Nath";
String fullname = firstName.concat(lastName);
System.out.println("FullName : "+fullname);
String uppercase = fullname.toUpperCase();
System.out.println("uppercase : "+uppercase);
String lowercase = fullname.toLowerCase();
System.out.println("lowercase : "+lowercase);
boolean b = firstName.startsWith("s");
System.out.println("b= "+b);
boolean last = lastName.endsWith("h");
System.out.println("last = "+last);
String[] names = {"sita", "susmita", "nishat"};
for(String x :names)
{
System.out.println("Names = "+x);
}

}
}

sitanath
join shbcf.ru