LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-16-2016, 04:59 PM   #16
wh33t
Member
 
Registered: Oct 2003
Location: Canada
Posts: 922

Original Poster
Rep: Reputation: 61

Quote:
Originally Posted by ntubski View Post
Aye, that looks highly relevant. I'll peep that. Thank you!
 
Old 04-17-2016, 02:17 AM   #17
Michael Uplawski
Senior Member
 
Registered: Dec 2015
Posts: 1,620
Blog Entries: 40

Rep: Reputation: Disabled
Quote:
Originally Posted by ntubski View Post
This looks like the “right” answer. However and just or completeness: charAt() can be used to find a position in the string, if you use a for-loop and bail out at the right moment. Internally, many of the functions that look “more adapted to the task”, do exactly the same, although their implementation in C, C++ or other full-blown programming-languages may render them faster.
 
  


Reply

Tags
caret, contenteditablediv, javascript



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Little JavaScript Challenge mzh Programming 7 08-31-2011 04:04 PM
!? element names beginning with number break javascript??? UMG:Chicken_Soüp Programming 1 01-27-2008 11:12 PM
Challenge to all Linux Geek - Suse 10.1 - Vmware Server - Xp Pro Sikooz SUSE / openSUSE 2 07-12-2007 12:44 AM
Challenge: Radeon 9600 Pro vs. TuxRacer = Choppy...? Nalorin Linux - Hardware 15 01-15-2006 07:12 PM
Discovering position of an element in JavaScript Napalm Llama Programming 4 09-07-2005 03:59 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration