So I have this bot which scrapes content and posts to a xenforo board ..( just like used here.).
Problem is scraped content does not have line breaks .. and when I post it to the forum it looks ugly . So i want to introduce line breaks every 100 characters.
All data is saved in xlsx , then posted.
First I tried with inserting \n in excel , but it didnt work.
Then I tried with {-String.Enter-} , it didn't work too.
Any other option ?
I am using C# to insert enter .
Code Snippet :
Then i am using setvariable from action designer to enter the comment . However still no enter appears. If I dont use @ I get some C# error.
HELP !!
Problem is scraped content does not have line breaks .. and when I post it to the forum it looks ugly . So i want to introduce line breaks every 100 characters.
All data is saved in xlsx , then posted.
First I tried with inserting \n in excel , but it didnt work.
Then I tried with {-String.Enter-} , it didn't work too.
Any other option ?
I am using C# to insert enter .
Code Snippet :
Код:
{
if (dotPos > 80 && dotPos < 110)
{
Cmt.Insert(dotPos+1,@"{-String.Enter-}");
CmtLen = CmtLen - dotPos;
}
else
{
Cmt.Insert(spacePos+1,@"{-String.Enter-}");
CmtLen = CmtLen - spacePos;
}
}
HELP !!