javascript sub() method
Translation results:
英[sʌb] 美[sʌb]
n.Submarine;substitute,substitute,substitute;subway;reviewer
vi.Be a substitute, be a substitute ;Be a stand-in, proofread (manuscript)
Third person singular: subs Plural: subs Present participle: subbing Past tense: subbed Past participle: subbed
javascript sub() methodsyntax
Function: is used to display strings as subscripts.
Syntax: stringObject.sub()
javascript sub() methodexample
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <script type="text/javascript"> var str="Hello world!" document.write(str.sub()) </script> </body> </html>
Run instance »
Click the "Run instance" button to view the online instance
Popular Recommendations
- DeFi Grows in Sub-Saharan Africa and Latin America as Crypto Adoption Catches On
- Bitcoin (BTC) Price Plunges 6.5% as Arthur Hayes Opens Short Position, Targets Sub-$50K
- BitMEX Co-Founder Arthur Hayes Expects A Bitcoin Price Crash, Targets Sub-$50k This Weekend
- Infinix Zero Flip debuts as new foldable Android smartphone pitched at sub-Motorola Razr 2024 price-point
- Prestige 13 AI+ Evo: MSI releases Intel Lunar Lake refresh for fans of sub-1 kg laptops with large batteries
- Prestige 13 AI+ Evo: MSI releases Intel Lunar Lake refresh for fans of sub-1 kg laptops with large batteries