fluid-api/src/main/java/com/fluidbpm/program/api/util/UtilGlobal.java
public String getLatitudeFromFluidText(String textToCheckParam) {

		if(textToCheckParam == null || textToCheckParam.isEmpty()) {
			return EMPTY;
		}

		String[] latitudeAndLongitude = textToCheckParam.split(REG_EX_PIPE);
		if(latitudeAndLongitude == null || latitudeAndLongitude.length < 2) {
			latitudeAndLongitude = textToCheckParam.split(REG_EX_COMMA);
		}

		if(latitudeAndLongitude == null || latitudeAndLongitude.length == 0) {
			return ZERO;
		}

		if(latitudeAndLongitude.length > 1)
		{
			return toGoeSafe(latitudeAndLongitude[0]);
		}

		return ZERO;
	}
public String getLatitudeFromFluidText(String textToCheckParam) {

		if(textToCheckParam == null || textToCheckParam.isEmpty()) {
			return EMPTY;
		}

		String[] latitudeAndLongitude = textToCheckParam.split(REG_EX_PIPE);
		if(latitudeAndLongitude == null || latitudeAndLongitude.length < 2) {
			latitudeAndLongitude = textToCheckParam.split(REG_EX_COMMA);
		}

		if(latitudeAndLongitude == null || latitudeAndLongitude.length == 0) {
			return ZERO;
		}

		if(latitudeAndLongitude.length > 1)
		{
			return toGoeSafe(latitudeAndLongitude[0]);
		}

		return ZERO;
	}
public String getLatitudeFromFluidText ( String textToCheckParam ) { if ( textToCheckParam == null || textToCheckParam . isEmpty ( ) ) { return EMPTY ; } String [ ] latitudeAndLongitude = textToCheckParam . split ( REG_EX_PIPE ) ; if ( latitudeAndLongitude == null || latitudeAndLongitude . length < 2 ) { latitudeAndLongitude = textToCheckParam . split ( REG_EX_COMMA ) ; } if ( latitudeAndLongitude == null || latitudeAndLongitude . length == 0 ) { return ZERO ; } if ( latitudeAndLongitude . length > 1 ) { return toGoeSafe ( latitudeAndLongitude [ 0 ] ) ; } return ZERO ; }
Extract and returns Latitude from {@code textToCheckParam} applicable to
Fluid.

@param textToCheckParam The Latitude and Longitude to extract Latitude from.
@return Geo Latitude from {@code textToCheckParam}.
Extract and returns Latitude from { @code textToCheckParam } applicable to Fluid .