Jump to content
  • 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:  

14 hours ago, 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>

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:  10013
  • Reputation:   2348
  • 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...