# How can I add space to the text of myHow to send a website to a second activity in kotlin?

**URL:** <https://discuss.kotlinlang.org/t/how-can-i-add-space-to-the-text-of-myhow-to-send-a-website-to-a-second-activity-in-kotlin/18261>\
**Category:** Support\
**Created:** [June 28, 2020, 9:43pm UTC](https://discuss.kotlinlang.org/t/how-can-i-add-space-to-the-text-of-myhow-to-send-a-website-to-a-second-activity-in-kotlin/18261 "2020-06-28T21:43:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jgamarra](https://avatars.discourse-cdn.com/v4/letter/j/a6a055/32.png) [@jgamarra](https://discuss.kotlinlang.org/u/jgamarra)\
**Post date:** [June 28, 2020, 9:43pm UTC](https://discuss.kotlinlang.org/t/how-can-i-add-space-to-the-text-of-myhow-to-send-a-website-to-a-second-activity-in-kotlin/18261/1 "2020-06-28T21:43:23Z")

</div>

I am trying to create an application that allows sending any website as data, but when I write the address it does not load in the second activity.

MainActivity

```auto
bt_ir.setOnClickListener {

            val sitio = pt_sitio.text.toString()
            val inten = Intent (this, MainActivity2_Webview::class.java)
            inten.putExtra("Clave", sitio)
            startActivity(inten)
        }

Second Activity

        val intent = intent
        val name = intent.getStringExtra("Clave")
        wv_sitio.loadUrl("http//:${name}")

        bt_atras.setOnClickListener {
            finish()
        }

```
