Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig >> mail # user >> Replace at position in string


Copy link to this message
-
Replace at position in string
Hi all,

 How to replace some value in string at particular location

 For example

 abcd

 Replace values from index 0-1 with mn

 mncd as output

 Any built in UDF or i should write own UDF?.

 I checked existing Replace method , it replaces value to some another value.

Thanks and Regards ,