bulldawg1515
MIS
I'm hoping this is something simple that I'm just overlooking but I can't figure it out. I'm trying to parse a string of text to determine how many leading spaces there are. For example, I have string " abc" and I want to be able to determine that there are three spaces at the start of this string. I have tried using the split function but can't figure out what delimiter to use to separate the string by each individual character, including the spaces. Also, in previewing my post, I noticed that it is only going to display one space in front of the "abc" example instead of three. So you will just have to pretend there are three blank spaces in front of "abc". Any help would be greatly appreciated. Thanks!