java.lang.Object
org.eclipse.xtext.xbase.lib.StringExtensions
This is an extension library for
strings.- Author:
- Sven Efftinge - Initial contribution and API
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanstatic Stringoperator_plus(String a, Object b) The binary+operator that concatenates a string and the string reprentation of an object.static Stringoperator_plus(String a, String b) The binary+operator that concatenates two strings.static Stringstatic String
-
Constructor Details
-
StringExtensions
public StringExtensions()
-
-
Method Details
-
operator_plus
The binary+operator that concatenates a string and the string reprentation of an object.- Parameters:
a- a string.b- an object.- Returns:
a + b
-
operator_plus
The binary+operator that concatenates two strings.- Parameters:
a- a string.b- another string.- Returns:
a + b- Since:
- 2.5
-
isNullOrEmpty
- Parameters:
s- the string- Returns:
trueifsisnullor equal to the emptyString""
-
toFirstUpper
-
toFirstLower
-