Jump to content
The forums will be going offline for an extended maintenance period at 1400hrs GMT on 19th June 2025. The number of hours for this downtime is intentionally not advertised due to the nature of these upgrades. ×
  • 0

How add 'Tab' in string?


Triedge

Question


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  46
  • Reputation:   1
  • Joined:  03/20/12
  • Last Seen:  

example:

dispbottom "Hello<tab>World";

I have tried using "\t" and other variants. "\r\t"

etc...

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

https://rathena.org/board/profile/8685-annieruru/?status=4450&amp;type=status
ROFL ... post on my profile

the answer is no,  the client doesn't understand what is <tab> means

perhaps need to make a diff client to make client understand <tab>

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  46
  • Reputation:   1
  • Joined:  03/20/12
  • Last Seen:  

  On 2/23/2019 at 5:56 AM, AnnieRuru said:

https://rathena.org/board/profile/8685-annieruru/?status=4450&amp;type=status
ROFL ... post on my profile

the answer is no,  the client doesn't understand what is <tab> means

perhaps need to make a diff client to make client understand <tab>

Expand  

Sorry.

My browser has been very unstable and I think I do not send the message correctly.

I think I even sent you several private messages by mistake.

Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10018
  • Reputation:   2373
  • Joined:  10/28/11
  • Last Seen:  

by default 1 tab is equal to 4 space... just add that manually for whatever you want to add in front of the message.

if you're referring to something like columns in message separated by tab, then you could try using the mes() + sprintf() .... 

it does the trick... only if you're using the fonts that could align perfectly.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...