Click here to Skip to main content
15,895,462 members
Home / Discussions / Web Development
   

Web Development

 
GeneralProblems Transfering div contents x-browser Pin
loane24-Mar-05 12:40
loane24-Mar-05 12:40 
GeneralQuestion regarding using the same input! Pin
Jamal42024-Mar-05 10:42
Jamal42024-Mar-05 10:42 
Generalcombo control appear infront of menu Pin
TariqMahmood24-Mar-05 0:41
TariqMahmood24-Mar-05 0:41 
GeneralCWebBrowser ActiveX Pin
Grahamfff23-Mar-05 10:46
Grahamfff23-Mar-05 10:46 
GeneralDestroying objects Pin
paixtis23-Mar-05 9:00
paixtis23-Mar-05 9:00 
GeneralA string problem.. Pin
Monisankar22-Mar-05 22:53
Monisankar22-Mar-05 22:53 
GeneralRe: A string problem.. Pin
Jeff Martin23-Mar-05 8:20
Jeff Martin23-Mar-05 8:20 
GeneralRe: A string problem.. Pin
kutz923-Mar-05 10:54
kutz923-Mar-05 10:54 
Monisankar wrote:
Actually i am doing a program in JSFL(Flash Javascript).So i
posted the thread here and it's a basic problem.
Suppose,
string = 'welcome to moni\'s homepage'
var i = string.indexOf("\'");
var j = string.indexOf("\'",j);
valueOfString = string.substring(i+1, j);
now valueOfString is welcome to moni
but i need to return it as welcome to moni's homepage.
What should i do?Thanks


As said, in the previous reply to your question you either need a replace method, or you need to add on the end of the string to the current one.

Ie. valueOfString = string.substring(i+1,j) + string.substring(j+1,stringLength)

I don't know what the string length function in JSFL though...

_____________________
Don't take out the Magic Pen,
Don't draw on the Infinity Board

- Neil Young
GeneralRe: A string problem.. Pin
Monisankar23-Mar-05 20:04
Monisankar23-Mar-05 20:04 
Generalmake class in java script Pin
Yulianto.22-Mar-05 15:44
Yulianto.22-Mar-05 15:44 
GeneralRe: make class in java script Pin
Edbert P22-Mar-05 19:07
Edbert P22-Mar-05 19:07 
GeneralJavascript ASP Login Pin
Shrex22-Mar-05 1:09
Shrex22-Mar-05 1:09 
Questionhow to open a save as dilog box using java script Pin
swaga22-Mar-05 0:31
swaga22-Mar-05 0:31 
GeneralJava Script loadJava Applet upon User Clicking A Button Pin
ahjiefreak21-Mar-05 22:45
ahjiefreak21-Mar-05 22:45 
Generalappend special characters onload Pin
21-Mar-05 10:12
suss21-Mar-05 10:12 
GeneralStarter Question Pin
Grahamfff21-Mar-05 8:47
Grahamfff21-Mar-05 8:47 
GeneralRe: Starter Question Pin
JKroschel23-Mar-05 4:54
JKroschel23-Mar-05 4:54 
GeneralRe: Starter Question Pin
Grahamfff23-Mar-05 10:02
Grahamfff23-Mar-05 10:02 
Generallocalhost = Bad Request Pin
Chris Maunder21-Mar-05 5:57
cofounderChris Maunder21-Mar-05 5:57 
GeneralRe: localhost = Bad Request Pin
JKroschel21-Mar-05 7:38
JKroschel21-Mar-05 7:38 
GeneralSave images from a website programatically Pin
pahluwalia21-Mar-05 5:17
pahluwalia21-Mar-05 5:17 
GeneralPosting data automatically Pin
kutz920-Mar-05 15:27
kutz920-Mar-05 15:27 
GeneralRe: Posting data automatically Pin
kutz920-Mar-05 15:34
kutz920-Mar-05 15:34 
GeneralRe: Posting data automatically Pin
Tunde Ajibawo22-Mar-05 0:02
Tunde Ajibawo22-Mar-05 0:02 
GeneralRe: Posting data automatically Pin
Anonymous22-Mar-05 10:38
Anonymous22-Mar-05 10:38 

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.