function () {
			var i,
				sPath = "",
				sSegment;

			for (i = 0; i < arguments.length; i += 1) {
				sSegment = arguments[i];
				if (sSegment || sSegment === 0) {
					if (sPath && sPath !== "/" && sSegment[0] !== "(") {
						sPath += "/";
					}
					sPath += sSegment;
				}
			}
			return sPath;
		}
function () {
			var i,
				sPath = "",
				sSegment;

			for (i = 0; i < arguments.length; i += 1) {
				sSegment = arguments[i];
				if (sSegment || sSegment === 0) {
					if (sPath && sPath !== "/" && sSegment[0] !== "(") {
						sPath += "/";
					}
					sPath += sSegment;
				}
			}
			return sPath;
		}
function ( ) { var i , sPath = "" , sSegment ; for ( i = 0 ; i < arguments . length ; i += 1 ) { sSegment = arguments [ i ] ; if ( sSegment || sSegment === 0 ) { if ( sPath && sPath !== "/" && sSegment [ 0 ] !== "(" ) { sPath += "/" ; } sPath += sSegment ; } } return sPath ; }
Builds a relative path from the given arguments. Iterates over the arguments and appends
them to the path if defined and non-empty. The arguments are expected to be strings or
integers, but this is not checked.

Examples:
buildPath() --> ""
buildPath("base", "relative") --> "base/relative"
buildPath("base", "") --> "base"
buildPath("", "relative") --> "relative"
buildPath("base", undefined, "relative") --> "base/relative"
buildPath("base", 42, "relative") --> "base/42/relative"
buildPath("base", 0, "relative") --> "base/0/relative"
buildPath("base", "('predicate')") --> "base('predicate')"

@returns {string} a composite path built from all arguments
Builds a relative path from the given arguments . Iterates over the arguments and appends them to the path if defined and non - empty . The arguments are expected to be strings or integers but this is not checked .
Returns the path of the path segment