Jump to content

[SOLVED] Return number of characters in a string


gigantorTRON

Recommended Posts

Hey all...

I need a function that will return the number of characters in a string. I've tried several including count_chars, but it's not working for what I need because the value is coming in as '18a' for example and count_chars will then return 3. Is there another function/combination of functions that I can use to count only the 'a' in a string?? I've looked through the manual but couldn't find an appropriate function.

 

Thanks.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.