---
schema_version: "1"
id: e10ce94b3abad521bcdce724a6d0126391b7f0967da35c6c544c1df0eae7cf24
title: Noun()
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/ampscript/references/sms/mc-ampscript-reference-sms-noun.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sms/mc-ampscript-reference-sms-noun.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 4c8db10ed0085bb9eb3aed779c4f98d4a198c01c625b915440e9b36ba999bb53
products:
  - AMPscript for Marketing Cloud
  - Marketing Cloud
---
# 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()](https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sms/mc-ampscript-reference-sms-msg.md)
- [Nouns](https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sms/mc-ampscript-reference-sms-nouns.md)
- [Verb](https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sms/mc-ampscript-reference-sms-verb.md)
