Accessing a character in a string?
I am making a timer. I need to insert a ":" in between minutes and hours. it will look something like this: <input value=456 placeholder="00:00"></input>
Suppose the name of your string is s. Then you can do this: s.charAt (0)+":"+s.slice (1) P.s if the first number is less than 10 you need to add a zero before it . like for input 456 it will be 04:56
Ok. ... ... What exactly do you need help with again?? ^_^
Joshua Morgan Only strings have that method.
I dont know how to insert colon in middle of hour and minutes.. I have tried finding the lessons but I can't
does this work for input integers or only strings? I get the error message "d.charAt is not a function"
how can I access char in a line of input values to insert colon? With an array?
Problem Statement Given two integers a and b, your task is to calculate and print the following four values:
Please help, any idea?
Loop question, I've tried everything that I knew I just don't know. Please help me solve it out
What is wrong? Error on test.
Help me solve this (using loop)
Help me wiht python
how can i flip any word with c++