# Noun()

Returns a word in a mobile-originated (MO) message based on its position. A mobile-originated message is a message sent from the mobile device of a subscriber to your SMS phone number. Compare MO messages to mobile-terminated (MT) messages, which are messages that you send to a subscriber’s mobile device.

:::important
You can only use this AMPscript function in MobileConnect. You can’t use this function in email messages, landing pages, or other content types.
:::

## Availability

<table>
  <tr>
    <td>Marketing Cloud Engagement</td>
    <td>✅ Yes</td>
  </tr>
  <tr>
    <td>Marketing Cloud Next</td>
    <td>❌ No</td>
  </tr>
</table>

## Syntax

```
Msg(0).Noun(position)
```

You can only use the `Noun()` function together with `Msg()`. The `Noun()` function accepts one parameter.

- `position` (integer): Required. The position of the word to return. This function only returns words that come after the keyword. The first word after the keyword has an index of 0, the second word has an index of 1, and so on.

## Usage

This function parses a message that was sent to you by a subscriber (an MO message). It returns a specific word that follows the keyword, based on the position of the word that you want to return.

```
%%[
  Var @incoming_message_noun
  Set @incoming_message_noun = Msg(0).Noun(1)
]%%

<p>%%=v(@incoming_message_noun)=%%</p>
```

If the keyword is “OFFER” and an MO message contains the text “OFFER John Smith”, the example code returns “Smith”.

## See Also

- [Msg()](/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sms/mc-ampscript-reference-sms-msg.md)
- [Nouns](/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sms/mc-ampscript-reference-sms-nouns.md)
- [Verb](/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sms/mc-ampscript-reference-sms-verb.md)
