Einzelnen Beitrag anzeigen

Benutzerbild von Matze
Matze
(Co-Admin)

Registriert seit: 7. Jul 2003
Ort: Schwabenländle
14.929 Beiträge
 
Turbo Delphi für Win32
 
#5

Re: Copy in JavaScript ?

  Alt 16. Mai 2008, 08:35
Zitat von rawsoul:
Will .SubString() als Parameter Startindex sowie Endindex, oder Startindex und Länge, so wie in Delphi?
Ich zitiere von w3schools.com:

Code:
stringObject.[b][color=#ff0000]substr[/color][/b](start,length)

Parameter      Description
start          Required. Where to start the extraction. Must be a numeric value
length         Optional. How many characters to extract. Must be a numeric value.
Code:
stringObject.[b][color=#ff0000]substring[/color][/b](start,stop)

Parameter      Description
start          Required. Where to start the extraction. Must be a numeric value
stop           Optional. Where to stop the extraction. Must be a numeric value
  Mit Zitat antworten Zitat