i need to populate middlename of an user

i need to populate middlename of an user but i am not seeing any option in user tab in Admin console for the same. 

 

Can you suggest asap on how to achieve this. Thanks.

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Associate Developer
    Hi Piysuh,

    Your requirement is not that clear but according to what you have mentioned, I think you can use the split() function for this. Below is the code which will help you

    local!name:"Piyush Kumar Agarwal", /*You can enter variable name here which contains name*/
    local!reframe:split(local!name," "),
    local!middleName:local!rreframe[2]

    This will return "Kumar" which is ur middle name
Reply
  • 0
    Certified Associate Developer
    Hi Piysuh,

    Your requirement is not that clear but according to what you have mentioned, I think you can use the split() function for this. Below is the code which will help you

    local!name:"Piyush Kumar Agarwal", /*You can enter variable name here which contains name*/
    local!reframe:split(local!name," "),
    local!middleName:local!rreframe[2]

    This will return "Kumar" which is ur middle name
Children