Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. I want to show the first lettter of token to be upercase in my code, but it then show the page name and not the token name

I want to show the first lettter of token to be upercase in my code, but it then show the page name and not the token name

Scheduled Pinned Locked Moved ASP.NET
2 Posts 1 Posters 12 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    hendrikbez
    wrote on last edited by
    #1

    I have the following code that is sist make the firs leter of a token uppercase, do not know if this is the correct way to do it.

    I only run thos on my local machine

    The value of slug is the token name on coinmarketcup

    At the moment when I open the page it show me the name of the token that I have click on, but they are all lowercase, so I want it to show the first letter in uppercase.

    If i using the code that i have giving it shows CoinDetails (it is my page name)

    thiss is the code that is not working

    Try to use this with this code

    H 1 Reply Last reply
    0
    • H hendrikbez

      I have the following code that is sist make the firs leter of a token uppercase, do not know if this is the correct way to do it.

      I only run thos on my local machine

      The value of slug is the token name on coinmarketcup

      At the moment when I open the page it show me the name of the token that I have click on, but they are all lowercase, so I want it to show the first letter in uppercase.

      If i using the code that i have giving it shows CoinDetails (it is my page name)

      thiss is the code that is not working

      Try to use this with this code

      H Offline
      H Offline
      hendrikbez
      wrote on last edited by
      #2

      Fix the problem self with this code

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups