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.  ToProper Example

    Employee
    Posted 07-12-2013 07:14

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

    Originally posted by: johnpelz

    I recently had a user ask about the existence of a toProper() function in BRAINScript where the first letter of a word would be converted to uppercase, followed by all lowercase letters. We do not have a BRAINScript function out of the box that handles this scenario; however, it's fairly straightforward to implement. Attached is an example of how to do so. The node takes a fieldname and converts ALL words in that field to "proper" notation.

    Enjoy
    Attachments:
    toProper_example.brg


  • 2.  RE: ToProper Example

    Employee
    Posted 10-03-2014 22:20

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

    Originally posted by: andycooper

    To follow on from the excellent example above, the graph below develops the toProper requirement to allow multiple fields to be converted to Proper text; the scenario below is typical of where you have a first name and last name that needs conversion. Simply enter the two required field names into the Input Parameter tab and run your graph.

    Ta
    Attachments:
    toProper_example.brg