Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What are the different String functions available in pig?

Answer Posted / Suraj Singh Rana

In Pig, there are several string functions available. Here are some of them:n1. CONCAT("): Concatenates strings.n2. INITCAP("): Capitalizes the first letter of each word in a string.n3. LOWERCASE(") and UPPERCASE("): Convert case of a string to lowercase or uppercase respectively.n4. LENGTH("): Returns the length of a string.n5. SUBSTRING(", start, length): Extracts a substring from a given position starting for a specified length.n6. INDEXOF(", substr): Finds the position of substr in the string.n7. REPLACE(", old_substr, new_substr): Replaces all occurrences of old_substr with new_substr in the string.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the function of UNION and SPLIT operators? Give examples?

579