- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
You can use javascript functions for that. Assuming your field that holds the sentence is PayeeLastName then you can do something like this:
// Get value into a string
var message = PayeeLastName.rawValue;
//Use the split command to break up the string on the space char and place into an array called words
var words = message.split(" ");
//now the words array holds all of the words in the string. It is a zero base array so to get the 1st word
app.alert("The first word is: " + words[0]);
Hope that helps
Paul