This blog is for Automation Test Engineers

Sunday, 27 August 2017

How to use Trim function


By using trim method we can remove space before and after specified string

Eg;
String str="      SeleniumJava    ".trim();
System.out.print(str);


0

0 comments:

Post a Comment