AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

string length

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Roflkatoffel
Guest





PostPosted: Tue May 01, 2007 11:01 am    Post subject: string length Reply with quote

little quick question:
how long can a string be?
i have a very very long string but ahk cuts the last part of and says ... ... ...
Back to top
Rabiator



Joined: 17 Apr 2005
Posts: 265
Location: Sauerland

PostPosted: Tue May 01, 2007 1:09 pm    Post subject: Re: string length Reply with quote

Roflkatoffel wrote:
little quick question:
how long can a string be?
i have a very very long string but ahk cuts the last part of and says ... ... ...
Strings can only be very long (not very very Wink). Have a look at "Variables and Expressions" in the manual, section "Variable Capacity and Memory".
Back to top
View user's profile Send private message
PhiLho



Joined: 27 Dec 2005
Posts: 6721
Location: France (near Paris)

PostPosted: Tue May 01, 2007 4:45 pm    Post subject: Reply with quote

Let me guess... It says ... in the ListVars page? This is to preserve readability of the shown info.
If you display it with MsgBox, for example, it should be intact. Of if very long, you can FileAppend it to verify.
The exact maximum length is somewhere in the manual, but I believe/guess it should be several megabytes, perhaps up to 2 or 4 GB (if your computer supports this!).
_________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2")
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group