Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to insert Blanks in a string?

Does anybody know if exists a function to insert a caracter N times into a String?

to do something like that:

'COUNTRY:' & FUNCTION("Character",N) & 'END'

'COUNTRY:' & FUNCTION("-",3) & 'END'

'COUNTRY:---END'

Thanks a lot

1 Solution

Accepted Solutions
jvitantonio
Luminary Alumni
Luminary Alumni

Yes. Use the Repeat function:

Repeat('-',3)

View solution in original post

3 Replies
jvitantonio
Luminary Alumni
Luminary Alumni

Yes. Use the Repeat function:

Repeat('-',3)

Miguel_Angel_Baeyens

Hi Pedro,

Elaborating what qlikuser14 says:

'COUNTRY:' & Repeat('-',3) & 'END'

Hope that helps.

Miguel

Not applicable
Author

Thank you both.