Jump to content
UBot Underground

is $newline = $nothing?


Recommended Posts

hi

 

is $newline = $nothing when using it in the if statement?

 

for example:

temp = $newline

if(temp = $nothing)

{

do something

}

else

{

do something lese

}

 

thanks

Link to post
Share on other sites

thanks for the example

 

but what I mean is that if a variable is equal to $new line, is it something or nothing?

 

how do I check if a variable has $new line or $nothing?

Link to post
Share on other sites

thanks for the example

 

but what I mean is that if a variable is equal to $new line, is it something or nothing?

 

how do I check if a variable has $new line or $nothing?

 

You could identify {$new line} with the regex "\s" which matches all whitespace characters. It also should show up as "\n" which is the regex for a linebreak.

 

The new line character is a hidden character which won't render out in a particularly visible manner, but it would not be the same as {$nothing} which is a null character (essentially nothing at all).

Link to post
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
Reply to this topic...

×   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.

Loading...
×
×
  • Create New...