---
title: "Räkna antal tecken i ordet x?"
type: "forum-thread"
url: "https://www.webforum.nu/amne/asp/189485-räkna-antal-tecken-i-ordet-x"
topic: "ASP"
topic_url: "https://www.webforum.nu/amne/asp"
author: "brorsan"
published: "2012-03-20T00:09:18.000Z"
updated: "2012-03-20T00:38:37.000Z"
replies: 1
views: 636
page: 1
pages: 1
language: "sv-SE"
site: "webForum — webforum.nu"
rights: "Upphovsrätten till varje inlägg tillhör dess författare."
attribution: "Citera som: webForum, https://www.webforum.nu/amne/asp/189485-räkna-antal-tecken-i-ordet-x"
---

# Räkna antal tecken i ordet x?

## #1 — brorsan, 2012-03-20T00:09Z

Går det? Typ om:

Dim x
x = okand_sträng_med_okant_antal_tecken

Kan man då enkelt räkna antal tecken i ordet x? Så att man sen kan fortsätta så här:

If antal tecken i ordet x = 8 then .....
else if antal tecken i ordet x = 11 then ..... ? 
else if antal tecken i ordet x = 15 then ..... ? 
end if

Permalänk: https://www.webforum.nu/p/189485

## #2 — brorsan, 2012-03-20T00:38Z

Oj, sorry, jag skulle visst ha sökt först på en så basic fråga. 

<http://www.webforum.nu/showthread.php?t=114234&highlight=r%E4kna+tecken>

Permalänk: https://www.webforum.nu/p/2296898

---

Tråden på webben: https://www.webforum.nu/amne/asp/189485-räkna-antal-tecken-i-ordet-x
