![]() |
|
[.NET] Split long string in codedom? - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [.NET] Split long string in codedom? (/showthread.php?tid=2813943) |
Split long string in codedom? - Percocet - Aug 26, 2012 OK, so I know that when a string is too long, you need to split it in order to compile it. You use the following format: Code Dim Str As String = "asdhkajshdkajsd" & _Now, when a string is placed into the source file, how do people split the long string with that format? If you don't know what I mean here's an example: Code Dim Str As String = "^LongString^"The string is too long for codedom to compile the application You would then split the string before compiling the application Now, how do you split the string before compiling the application? * - ๖ۣۜMephobia - Aug 26, 2012 Look at my recent vb.net section threads and you will find the answer. Please close this thread now. * - Meerkat. - Aug 27, 2012 You can either compress your string or you can use a stringbuilder, ... You should indeed check out mephobia's thread. * - Pumpkins - Aug 27, 2012 Hang on, I have a string builder in my crypter, i'll update this post with the source. edit: Have this somewhere in the builder where you'll be splitting the string and putting it into the stub: PHP Code Next you can use it the following way: PHP Code replace YOUR STRING HERE with your string. Afterwards your new string will be named "out" If you look at the code properly you'll realise. * - Renn0 - Aug 27, 2012 https://hackforums.net/showthread.php?tid=2806707&pid=25839917#pid25839917 * - Percocet - Aug 27, 2012 (Aug 27, 2012 04:21 AM)Zakary Wrote: Hang on, I have a string builder in my crypter, i'll update this post with the source. Thank you. This works just fine. Closing thread... |