10,000 Char
If i wanna insert the length more than 10,000 char , How ?
View RepliesIf i wanna insert the length more than 10,000 char , How ?
View Replieswhat i am trying to do is i have a session called "link" and in that session is a web address "http://www.google.com/" and what i am trying to do is if the last char is a "/" then i want to remove it .
View Replies View RelatedI have a cookie like this:
Request.Cookies("connection")("permission")
with the value: YNNYNNYYYN
how can I get the single chars value? Y, N, N...
I previously had a post on a problem with the Microsoft SQL server, when I was trying to compare a record in the database with an inputed record, if the record in the database was not exactly the same length as the inputed record, it would not match. i.e. user codes = OAK,BRANT,QUYOU etc.
Unfortunately these records have already been made and they vary in length from 2-5 characters. Im programming in VBscript, does anyone know any functions which will rectify this problem?
i've tried the trim function but this has no effect, I could just change the length of the column so that they are all a similar length and thus will all be comparable, however this is certainly not ideal as an id code only two characters long is not unique, some of the records will clash.
I would like to avoid changing all the records as there are 25 different codes for about 10,000 records. im sure there is some code which could accomplish this but ideally I would like to solve the problem at source.
i'm trying to printout normal text from IE using Generic Text Driver
like so:
B10,10,0,1,1,1,100,N,"13123123"
problem is in the printout itself (if i use the print to file to debug)
IE keeps appending char 20 charachter to each line which screws up my
printing (trying to printout to a barcode printer)
is escape char in asp script and how we can encode the url in asp script?
View Replies View Relatedi have a string and want to find the position of the first '-' in it.
example i have :
"RCD-0-183"
I need to output : 0-183
Can someone tell me the maximum character length of a variable passed to an ASP page via a POST form (i.e. not through the querystring)? I read somewhere that said it was 1024 characters but that can't be right.
View Replies View Relatedi got a string- for example the word "CodingForums" i want somehow to add randomal char- for example "0", 3 times the output can look like this-
"0C0odi0ngForums" "Co0ding0Foru0ms" "Co0din0gFor0ums" "0CodingForums00"
what is the best way to do this?
I have this piece of code in an .asp file. I call this file through a form and I send an email
Set myMail=CreateObject("CDO.Message")
myMail.Subject="my subject"
myMail.From=Request("email")
myMail.To="myemail@mail.com"
Dim Body
Body = Body & "Name: " & Request("name") & VbCrLf
Body = Body & "E-mail: " & Request("email") & VbCrLf
Body = Body & "-----" & VbCrLf
Body = Body & Request("the_message") & VbCrLf
myMail.TextBody=Body
myMail.Send
set myMail=nothing
The problem is when I try to fill in the form with greek characters. They appear in the email as ????? or very confused characters with no recovery.
I have one field char type data length 1.. It has data either 1 or 2 in all the field tht I have checked through enterprise manager.
I'm running query:
"select * from table" and fetching all the records and displaying...
It display all the data except data from this field..Doesnt display anything..
I had put Response.write rs("fieldname")
What could be the problem?
Ok, given a string up to any length, lets say 1,000 characters. I want to only display no more than 450 characters, but I want to end the string where a "." is found. In other words, have it go the 450 character, then from that point backwards, find the first "." That will be the end of what is displayed. I don't want hanging sentences in other words...
View Replies View Related