LAE

Welcome to the LAE community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Discussions

Members

Resources

Events

 View Only
  • 1.  Change of case using Replace Text Node

    Employee
    Posted 07-17-2014 09:38

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: sjenning@ciena.com

    I've successfully used the replace text node before but now case I want to replace lower case text with the same letter in upper case plus a mixture of letters and numbers.
    For example, g->G
    1 g-> 1G

    Can anyone suggest a syntax that works.
    I've tried a few with no success.
    Thanks in advance for your help.
    Stephen


  • 2.  RE: Change of case using Replace Text Node

    Employee
    Posted 07-17-2014 19:21

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: xathras

    Stephen, do you just want to change the second position character to an upper case. It will very much depend on exactly what you're trying to do.

    Wayne


  • 3.  RE: Change of case using Replace Text Node

    Employee
    Posted 07-18-2014 12:46

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: ryeh

    As I understand, the Replace Text node is not case sensitive. So g->G doesn't do anything. What would work better for you is using the 'replace' function. Or as xathras alludes, we can make everything upper case with the 'toUpper' function. "Depends on what you're trying to do!"
    Attachments:
    g2G.brg