Click here to Skip to main content
15,906,708 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: data validations in javascript Pin
Sonia Gupta27-Oct-07 0:29
Sonia Gupta27-Oct-07 0:29 
AnswerRe: data validations in javascript Pin
Abhijit Jana27-Oct-07 1:05
professionalAbhijit Jana27-Oct-07 1:05 
Answerdate validations in javascript Pin
Sarani Ravindran28-Oct-07 0:54
Sarani Ravindran28-Oct-07 0:54 
Questionsplit function in java script Pin
Sonia Gupta27-Oct-07 0:11
Sonia Gupta27-Oct-07 0:11 
AnswerRe: split function in java script Pin
Arindam Tewary27-Oct-07 0:25
professionalArindam Tewary27-Oct-07 0:25 
GeneralRe: split function in java script Pin
Sonia Gupta27-Oct-07 0:27
Sonia Gupta27-Oct-07 0:27 
GeneralRe: split function in java script Pin
Arindam Tewary27-Oct-07 0:35
professionalArindam Tewary27-Oct-07 0:35 
GeneralRe: split function in java script Pin
Arif patel27-Oct-07 2:18
Arif patel27-Oct-07 2:18 
Hi sonia,

To split a string, use the substring method:

string.substring(start,end)

Here string is the string from which you want to extract a substring.
start is the number specifying the position of the character at which the substring begins. (The character at start itself will be included in the substring.)
end is the number specifying the position of the character at which the substring ends. (The character at end will not be included in the substring.)

Note that the first character in the string corresponds to position 0, and the last character to position string.length-1.

Examples:

'Hello'.substring(0,2) // 'He'
'Hello'.substring(0,4) // 'Hell'



Regards,
S.Arif patel.
AnswerRe: split function in java script Pin
J4amieC27-Oct-07 1:08
J4amieC27-Oct-07 1:08 
Questionaudio recording control Pin
kadkir27-Oct-07 0:05
kadkir27-Oct-07 0:05 
AnswerRe: audio recording control Pin
Saksida Bojan27-Oct-07 1:37
Saksida Bojan27-Oct-07 1:37 
Questiondropdownlist in java script Pin
Sonia Gupta26-Oct-07 23:56
Sonia Gupta26-Oct-07 23:56 
AnswerRe: dropdownlist in java script Pin
Arindam Tewary27-Oct-07 0:21
professionalArindam Tewary27-Oct-07 0:21 
GeneralRe: dropdownlist in java script Pin
Sonia Gupta27-Oct-07 0:25
Sonia Gupta27-Oct-07 0:25 
GeneralRe: dropdownlist in java script Pin
Arindam Tewary27-Oct-07 0:40
professionalArindam Tewary27-Oct-07 0:40 
GeneralRe: dropdownlist in java script Pin
Arif patel27-Oct-07 2:08
Arif patel27-Oct-07 2:08 
AnswerRe: dropdownlist in java script Pin
Imran Khan Pathan27-Oct-07 0:41
Imran Khan Pathan27-Oct-07 0:41 
AnswerRe: dropdownlist in java script Pin
Arif patel27-Oct-07 1:49
Arif patel27-Oct-07 1:49 
Questiontextbox substring validation Pin
Sonia Gupta26-Oct-07 22:45
Sonia Gupta26-Oct-07 22:45 
AnswerRe: textbox substring validation Pin
John-ph26-Oct-07 23:11
John-ph26-Oct-07 23:11 
AnswerRe: textbox substring validation Pin
Abhijit Jana26-Oct-07 23:15
professionalAbhijit Jana26-Oct-07 23:15 
AnswerRe: textbox substring validation Pin
Imran Khan Pathan26-Oct-07 23:21
Imran Khan Pathan26-Oct-07 23:21 
AnswerRe: gridview Pin
N a v a n e e t h26-Oct-07 22:40
N a v a n e e t h26-Oct-07 22:40 
Questionclient side validations Pin
Sonia Gupta26-Oct-07 21:40
Sonia Gupta26-Oct-07 21:40 
AnswerRe: client side validations Pin
N a v a n e e t h26-Oct-07 21:54
N a v a n e e t h26-Oct-07 21:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.