Remove a character from a string

How do I remove a character at an index of a string?

“string”_3

Cheers,

  Attila

Hi Roni,

This what you are talking about?

q)word:“Hello”

q)word except word[1]

“Hllo”

q)

q)word _ 1

“Hllo”

The second is much faster.

)\ts:100000 word except word[1]

131 576

q)\ts:100000 word _ 1

39 400

Hope this helps,

Marcus

Hi Roni,

Use @

q)a:“hello”

q)@[a;2;:;" "]

“he lo”

HTH,

Sean

Thanks Everyone!