---
schema_version: "1"
id: 8244e9d4144206893e518586e38dbad8ae073746869c6fc0cc588982d0cc3423
title: Nouns
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-nouns.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sms/mc-ampscript-reference-sms-nouns.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 5771eeb5aa044da7bc92ecca6138407228452e9ee206ab2eef13e028c9ccc6cc
products:
  - AMPscript for Marketing Cloud
  - Marketing Cloud
---
# Nouns

Returns all of the message content that follows the keyword in a mobile-originated (MO) message. 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).Nouns
```

The `Nouns` function doesn’t accept any parameters. You can only use this function together with `Msg()`.

## Usage

This function parses a message that was sent to you by a subscriber (an MO message) and returns all of the content after the keyword.

```
%%[
  Var @incoming_message_nouns
  Set @incoming_message_nouns = Msg(0).Nouns
]%%

<p>%%=v(@incoming_message_nouns)=%%</p>
```

If the keyword is “OFFER” and an MO message contains the text “OFFER John Smith”, the example code returns “John Smith”.

## See Also

- [Msg()](https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sms/mc-ampscript-reference-sms-msg.md)
- [Noun](https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sms/mc-ampscript-reference-sms-noun.md)
- [Verb](https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sms/mc-ampscript-reference-sms-verb.md)
